summaryrefslogtreecommitdiff
path: root/kitchen-tests/cookbooks/base/recipes/default.rb
diff options
context:
space:
mode:
Diffstat (limited to 'kitchen-tests/cookbooks/base/recipes/default.rb')
-rw-r--r--kitchen-tests/cookbooks/base/recipes/default.rb2
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"