Skip to content

Commit

Permalink
[DFSM] Add dummy log line to prove that update recipe is triggered on…
Browse files Browse the repository at this point in the history
… compute nodes.

Signed-off-by: Giacomo Marciani <[email protected]>
  • Loading branch information
gmarciani committed Jan 16, 2024
1 parent b140529 commit 4886bfc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cookbooks/aws-parallelcluster-entrypoints/recipes/update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
# generate the updated shared storages mapping file
include_recipe 'aws-parallelcluster-environment::update_fs_mapping'

if node["cluster"]["node_type"] == "ComputeFleet"
Chef::Log.info("Dummy log line to prove that update is triggered on compute node")
return
end

include_recipe 'aws-parallelcluster-environment::directory_service'
include_recipe 'aws-parallelcluster-slurm::update' if node['cluster']['scheduler'] == 'slurm'

Expand Down

0 comments on commit 4886bfc

Please sign in to comment.