diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-05-06 20:51:02 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-06 20:51:02 -0700 |
commit | 1ce6b162bf112bf2da2aba4280780d2f2959b865 (patch) | |
tree | 77356912e82b0c449e3062d618cfee8674fa827e /kitchen-tests | |
parent | 2f0cb26c3c15d49af198a839790f166c8d219f74 (diff) | |
download | chef-1ce6b162bf112bf2da2aba4280780d2f2959b865.tar.gz |
Make sure we do yum at the beginning of the test
We need EPEL
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/default.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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" |