mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
Merge pull request #5164 from inspec/ns/scientific-resource
Supports Scientific Linux in service resource
This commit is contained in:
commit
9af8ec5afe
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ module Inspec::Resources
|
|||
elsif version > 0
|
||||
SysV.new(inspec, service_ctl || "/usr/sbin/service")
|
||||
end
|
||||
when "redhat", "fedora", "centos", "oracle", "cloudlinux"
|
||||
when "redhat", "fedora", "centos", "oracle", "cloudlinux", "scientific"
|
||||
version = os[:release].to_i
|
||||
|
||||
systemd = ((platform != "fedora" && version >= 7) ||
|
||||
|
|
Loading…
Reference in a new issue