Skip to content

Commit f11fdee

Browse files
committed
cfn
1 parent b00a426 commit f11fdee

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

cookbooks/aws-parallelcluster-environment/recipes/install/cfn_bootstrap.rb

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,6 @@
3333
not_if { ::File.exist?("#{virtualenv_path}/bin/activate") }
3434
end
3535

36-
remote_file "#{node['cluster']['base_dir']}/cfn-dependencies.tgz" do
37-
source "#{node['cluster']['artifacts_s3_url']}/dependencies/PyPi/#{node['kernel']['machine']}/cfn-dependencies.tgz"
38-
mode '0644'
39-
retries 3
40-
retry_delay 5
41-
action :create_if_missing
42-
end
43-
44-
bash 'pip install' do
45-
user 'root'
46-
group 'root'
47-
cwd "#{node['cluster']['base_dir']}"
48-
code <<-REQ
49-
set -e
50-
tar xzf cfn-dependencies.tgz
51-
cd cfn
52-
#{virtualenv_path}/bin/pip install * -f ./ --no-index
53-
REQ
54-
end
55-
5636
cfnbootstrap_version = '2.0-28'
5737
cfnbootstrap_package = "aws-cfn-bootstrap-py3-#{cfnbootstrap_version}.tar.gz"
5838

0 commit comments

Comments
 (0)