mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
Supports Scientific Linux in service resource
Currently when using Scientific Linux the user will be prompted with the unsupported OS error message. As it is based on RHEL, it should be able to be supported inn the same way. Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
This commit is contained in:
parent
024a838a07
commit
8318e73237
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