File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
cookbooks/aws-parallelcluster-environment/recipes/install Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change 3333 not_if { ::File . exist? ( "#{ virtualenv_path } /bin/activate" ) }
3434end
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-
5636cfnbootstrap_version = '2.0-28'
5737cfnbootstrap_package = "aws-cfn-bootstrap-py3-#{ cfnbootstrap_version } .tar.gz"
5838
You can’t perform that action at this time.
0 commit comments