mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
remove comments
This commit is contained in:
parent
05e95477e3
commit
eb8c9411c7
1 changed files with 0 additions and 4 deletions
|
@ -28,19 +28,15 @@ class Service < Vulcano.resource(1)
|
|||
when 'ubuntu'
|
||||
version = os[:release].to_f
|
||||
if version < 15.04
|
||||
# upstart
|
||||
@service_mgmt = Upstart.new(vulcano)
|
||||
else
|
||||
# sysyemd
|
||||
@service_mgmt = Systemd.new(vulcano)
|
||||
end
|
||||
when 'redhat', 'fedora'
|
||||
version = os[:release].to_i
|
||||
if version >= 7
|
||||
# systemd
|
||||
@service_mgmt = Systemd.new(vulcano)
|
||||
else
|
||||
# sysv
|
||||
@service_mgmt = SysV.new(vulcano)
|
||||
end
|
||||
when 'darwin'
|
||||
|
|
Loading…
Reference in a new issue