Commit 52aee504 authored by Tim Smith's avatar Tim Smith
Browse files

More rework for Chef 13

This just makes this easier to read now that amazon has a platform_family
Signed-off-by: Tim Smith's avatarTim Smith <>
parent c6bfd694
......@@ -61,7 +61,7 @@ plat_specific_sv_name = case node['platform_family']
when 'rhel', 'amazon'
if node['platform_version'].to_i >= 7 && !platform?('amazon')
if node['platform_version'].to_i >= 7 && platform_family?('rhel')
elsif node['platform_version'].to_i == 2 && platform?('amazon')
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