Skip to content

Commit cb3bb37

Browse files
committed
Don't copy slurm init.d file if it's systemd
Signed-off-by: Mohan Gandhi <[email protected]>
1 parent 76183cd commit cb3bb37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

recipes/slurm_config.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
owner 'root'
3535
group 'root'
3636
mode '0755'
37+
only_if { node['init_package'] != 'systemd' }
3738
end
3839

3940
# case node['cfncluster']['cfn_node_type']

0 commit comments

Comments
 (0)