Class: PEBuild::Cap::DetectInstaller::SLES
- Inherits:
-
POSIX
- Object
- Base
- POSIX
- PEBuild::Cap::DetectInstaller::SLES
show all
- Defined in:
- lib/pe_build/cap/detect_installer/sles.rb
Instance Method Summary
collapse
Methods inherited from POSIX
#arch, #detect, #ext
Methods inherited from Base
#detect, detect_installer, #initialize
Instance Method Details
#name ⇒ Object
3
4
5
|
# File 'lib/pe_build/cap/detect_installer/sles.rb', line 3
def name
'sles'
end
|
#release_file ⇒ Object
7
8
9
|
# File 'lib/pe_build/cap/detect_installer/sles.rb', line 7
def release_file
'/etc/SuSE-release'
end
|
11
12
13
|
# File 'lib/pe_build/cap/detect_installer/sles.rb', line 11
def release_file_format
%r[^SUSE Linux Enterprise Server (\d+)]
end
|
#supported_releases ⇒ Object
15
16
17
|
# File 'lib/pe_build/cap/detect_installer/sles.rb', line 15
def supported_releases
%w[11]
end
|