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

Amazon on Chef 12 fix


Signed-off-by: Tim Smith's avatarTim Smith <tsmith@chef.io>
parent 2977fc50
......@@ -54,7 +54,7 @@ plat_specific_sv_name = case node['platform_family']
'runit'
end
when 'rhel'
if node['platform_version'].to_i >= 7
if node['platform_version'].to_i >= 7 && !platform?('amazon')
'runsvdir-start'
else
'runsvdir'
......
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