Skip to content

Commit 2884e8b

Browse files
committed
Fix and log
1 parent 8478ae9 commit 2884e8b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

cookbooks/aws-parallelcluster-computefleet/recipes/config/config_check_update_systemd_service.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@
3030
action :create
3131
end
3232

33+
file node['cluster']['shared_update_path'] do
34+
content ''
35+
owner 'root'
36+
group 'root'
37+
mode '0644'
38+
action :create_if_missing
39+
end
40+
3341
service 'check-update.timer' do
3442
action [:enable, :start]
3543
end

cookbooks/aws-parallelcluster-environment/resources/cfn_hup_configuration.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@
6868
cfn_init_role: instance_role_name,
6969
# ComputeFleet specific variables
7070
update_hook_script_dir: node['cluster']['scripts_dir'],
71-
node_bootstrap_timeout: node['cluster']['compute_node_bootstrap_timeout'] || node['cluster']['Timeout']
71+
node_bootstrap_timeout: node['cluster']['compute_node_bootstrap_timeout'] || node['cluster']['Timeout'],
72+
update_dir: node['cluster']['shared_update_path']
7273
)
7374
end
7475
end

0 commit comments

Comments
 (0)