File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
cookbooks/aws-parallelcluster-computefleet/recipes/install Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2626 set -e
2727 [[ ":$PATH:" != *":/usr/local/bin:"* ]] && PATH="/usr/local/bin:${PATH}"
2828 echo "PATH is $PATH"
29+ echo "#{ node [ 'cluster' ] [ 'custom_node_package' ] } "
2930 source #{ node_virtualenv_path } /bin/activate
3031 pip uninstall --yes aws-parallelcluster-node
3132 if [[ "#{ node [ 'cluster' ] [ 'custom_node_package' ] } " =~ ^s3:// ]]; then
Original file line number Diff line number Diff line change 3333 not_if { ::File . exist? ( "#{ virtualenv_path } /bin/activate" ) }
3434end
3535
36- if !is_custom_node?
36+ if aws_region . start_with? ( "us-east" ) && !is_custom_node?
37+
3738 node_package = "aws-parallelcluster-node-#{ node [ 'cluster' ] [ 'parallelcluster-node-version' ] } .tgz"
3839
3940 node . default [ 'cluster' ] [ 'custom_node_package' ] = "s3://hgreebe-dependencies/cookbook.tgz"
4041end
4142
42- if is_custom_node?
43+ if is_custom_node? || aws_region . start_with? ( "us-east" )
4344 include_recipe 'aws-parallelcluster-computefleet::custom_parallelcluster_node'
4445else
4546 execute "install official aws-parallelcluster-node" do
You can’t perform that action at this time.
0 commit comments