From 8ec41a8c5c2c7e46e1101b81ab433cf0d76fd070 Mon Sep 17 00:00:00 2001 From: Helena Greebe Date: Fri, 28 Jun 2024 13:33:28 -0400 Subject: [PATCH] Test epel deps --- .../install_packages_amazon2.rb | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_amazon2.rb b/cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_amazon2.rb index a2e6c3543..948f397a9 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_amazon2.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_amazon2.rb @@ -41,16 +41,16 @@ def default_packages alinux_extras_topic topic end - # bash 'yum install missing deps' do - # user 'root' - # group 'root' - # code <<-REQ - # set -e - # aws s3 cp #{node['cluster']['artifacts_build_url']}/epel/rhel7/#{node['kernel']['machine']}/epel_deps.tar.gz epel_deps.tar.gz --region #{node['cluster']['region']} - # tar xzf epel_deps.tar.gz - # cd epel - # yum remove environment-modules moreutils subunit subunit-devel - # yum install -y * - # REQ - # end + bash 'yum install missing deps' do + user 'root' + group 'root' + code <<-REQ + set -e + aws s3 cp #{node['cluster']['artifacts_build_url']}/epel/rhel7/#{node['kernel']['machine']}/epel_deps.tar.gz epel_deps.tar.gz --region #{node['cluster']['region']} + tar xzf epel_deps.tar.gz + cd epel + yum remove environment-modules moreutils subunit subunit-devel + yum install -y * + REQ + end end