Commit 132477cf authored by Tim Smith's avatar Tim Smith
Browse files

Rework the yum::epel statement for Chef 13



We can assume that amazon has its own platform_family now.
Signed-off-by: Tim Smith's avatarTim Smith <tsmith@chef.io>
parent 251920a2
......@@ -21,7 +21,7 @@ when 'rhel', 'amazon'
# add the necessary repos unless prefer_local_yum is set
unless node['runit']['prefer_local_yum']
include_recipe 'yum-epel' if node['platform_version'].to_i < 7 && !platform?('amazon')
include_recipe 'yum-epel' if node['platform_version'].to_i < 7 && platform_family?('rhel')
packagecloud_repo 'imeyer/runit' do
force_os 'rhel' if platform?('oracle', 'amazon') # ~FC024
......
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