Skip to content

Commit fa8ef06

Browse files
committed
test adc
1 parent 04f574d commit fa8ef06

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cookbooks/aws-parallelcluster-computefleet/recipes/install/custom_parallelcluster_node.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
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

cookbooks/aws-parallelcluster-computefleet/recipes/install/parallelcluster_node.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,14 @@
3333
not_if { ::File.exist?("#{virtualenv_path}/bin/activate") }
3434
end
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"
4041
end
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'
4445
else
4546
execute "install official aws-parallelcluster-node" do

0 commit comments

Comments
 (0)