mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
bugfix: systemd is default on debian 8
This commit is contained in:
parent
007d292890
commit
ea75b361a7
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Service < Vulcano.resource(1)
|
||||||
end
|
end
|
||||||
when 'debian'
|
when 'debian'
|
||||||
version = vulcano.os[:release].to_i
|
version = vulcano.os[:release].to_i
|
||||||
if version >= 7
|
if version > 7
|
||||||
@service_mgmt = Systemd.new(vulcano)
|
@service_mgmt = Systemd.new(vulcano)
|
||||||
else
|
else
|
||||||
@service_mgmt = SysV.new(vulcano)
|
@service_mgmt = SysV.new(vulcano)
|
||||||
|
|
Loading…
Reference in a new issue