Commit caf18075 authored by Tim Smith's avatar Tim Smith
Browse files

Remove a debian 7 check



No need for this anymore
Signed-off-by: Tim Smith's avatarTim Smith <tsmith@chef.io>
parent 5dcb8608
...@@ -76,5 +76,4 @@ service plat_specific_sv_name do ...@@ -76,5 +76,4 @@ service plat_specific_sv_name do
action [:start, :enable] action [:start, :enable]
# this might seem crazy, but RHEL 6 is in fact Upstart and the runit service is upstart there # this might seem crazy, but RHEL 6 is in fact Upstart and the runit service is upstart there
provider Chef::Provider::Service::Upstart if (platform?('amazon') && node['platform_version'].to_i != 2) || (platform_family?('rhel') && node['platform_version'].to_i == 6) provider Chef::Provider::Service::Upstart if (platform?('amazon') && node['platform_version'].to_i != 2) || (platform_family?('rhel') && node['platform_version'].to_i == 6)
not_if { platform?('debian') && node['platform_version'].to_i < 8 } # there's no init script on debian 7...for reasons
end end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment