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