diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-11-21 11:43:20 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-11-21 11:43:20 -0800 |
commit | 060ca20fc8205d1d209d005a4ba360a8762ed958 (patch) | |
tree | 60732fd549bb909eb23587e2fece0075fcb2f6ee /kitchen-tests | |
parent | 1f29c18f4d1660e20037945cf046f35dee45ca02 (diff) | |
download | chef-060ca20fc8205d1d209d005a4ba360a8762ed958.tar.gz |
avoid intalling epel on amazon linux
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/base/recipes/default.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kitchen-tests/cookbooks/base/recipes/default.rb b/kitchen-tests/cookbooks/base/recipes/default.rb index 397d50c016..c25673bef5 100644 --- a/kitchen-tests/cookbooks/base/recipes/default.rb +++ b/kitchen-tests/cookbooks/base/recipes/default.rb @@ -23,7 +23,7 @@ yum_repository "epel" do gpgkey "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-#{node['platform_version'].to_i}" gpgcheck true mirrorlist "https://mirrors.fedoraproject.org/metalink?repo=epel-#{node['platform_version'].to_i}&arch=$basearch" - only_if { node["platform_family"] == "rhel" } + only_if { node["platform_family"] == "rhel" && node["platform"] != "amazon" } end include_recipe "build-essential" |