mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +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
|
||||
when 'debian'
|
||||
version = vulcano.os[:release].to_i
|
||||
if version >= 7
|
||||
if version > 7
|
||||
@service_mgmt = Systemd.new(vulcano)
|
||||
else
|
||||
@service_mgmt = SysV.new(vulcano)
|
||||
|
|
Loading…
Reference in a new issue