From 1ce6b162bf112bf2da2aba4280780d2f2959b865 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 6 May 2020 20:51:02 -0700 Subject: Make sure we do yum at the beginning of the test We need EPEL Signed-off-by: Tim Smith --- kitchen-tests/cookbooks/end_to_end/recipes/default.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kitchen-tests') diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb index efb3ff5367..f175474d46 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb @@ -25,6 +25,8 @@ end timezone "UTC" +include_recipe "::_yum" if platform_family?("rhel") + if platform_family?("rhel", "fedora", "amazon") include_recipe "selinux::disabled" end @@ -106,7 +108,6 @@ locale "set system locale" do end include_recipe "::_apt" if platform_family?("debian") -include_recipe "::_yum" if platform_family?("rhel") include_recipe "::_chef-vault" unless includes_recipe?("end_to_end::chef-vault") include_recipe "::_sudo" include_recipe "::_sysctl" -- cgit v1.2.1