File tree 2 files changed +9
-2
lines changed
cookbooks/aws-parallelcluster-install/recipes
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 39
39
40
40
# Python Version
41
41
default [ 'cluster' ] [ 'python-version' ] = '3.9.13'
42
+ # FIXME: Python Version cfn_bootstrap_virtualenv due to a bug with cfn-hup
43
+ default [ 'cluster' ] [ 'python-version-cfn_bootstrap_virtualenv' ] = '3.7.14'
42
44
# plcuster-specific pyenv system installation root
43
45
default [ 'cluster' ] [ 'system_pyenv_root' ] = "#{ node [ 'cluster' ] [ 'base_dir' ] } /pyenv"
44
46
# Virtualenv Cookbook Name
56
58
# AWSBatch Virtualenv Path
57
59
default [ 'cluster' ] [ 'awsbatch_virtualenv_path' ] = "#{ node [ 'cluster' ] [ 'system_pyenv_root' ] } /versions/#{ node [ 'cluster' ] [ 'python-version' ] } /envs/#{ node [ 'cluster' ] [ 'awsbatch_virtualenv' ] } "
58
60
# cfn-bootstrap Virtualenv Path
59
- default [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] = "#{ node [ 'cluster' ] [ 'system_pyenv_root' ] } /versions/#{ node [ 'cluster' ] [ 'python-version' ] } /envs/#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv' ] } "
61
+ default [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] = "#{ node [ 'cluster' ] [ 'system_pyenv_root' ] } /versions/#{ node [ 'cluster' ] [ 'python-version-cfn_bootstrap_virtualenv ' ] } /envs/#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv' ] } "
60
62
61
63
# Intel Packages
62
64
default [ 'cluster' ] [ 'psxe' ] [ 'version' ] = '2020.4-17'
Original file line number Diff line number Diff line change 19
19
prefix node [ 'cluster' ] [ 'system_pyenv_root' ]
20
20
end
21
21
22
+ # FIXME: Python install for cfn_bootstrap_virtualenv due to a bug with cfn-hup
23
+ install_pyenv node [ 'cluster' ] [ 'python-version-cfn_bootstrap_virtualenv' ] do
24
+ prefix node [ 'cluster' ] [ 'system_pyenv_root' ]
25
+ end
26
+
22
27
activate_virtual_env node [ 'cluster' ] [ 'cookbook_virtualenv' ] do
23
28
pyenv_path node [ 'cluster' ] [ 'cookbook_virtualenv_path' ]
24
29
python_version node [ 'cluster' ] [ 'python-version' ]
42
47
# Install cfn_bootstrap virtualenv
43
48
activate_virtual_env node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv' ] do
44
49
pyenv_path node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ]
45
- python_version node [ 'cluster' ] [ 'python-version' ]
50
+ python_version node [ 'cluster' ] [ 'python-version-cfn_bootstrap_virtualenv ' ]
46
51
not_if { ::File . exist? ( "#{ node [ 'cluster' ] [ 'cfn_bootstrap_virtualenv_path' ] } /bin/activate" ) }
47
52
end
48
53
You can’t perform that action at this time.
0 commit comments