Azure / Azure/cyclecloud-slurm

`slurmd_sysconfig` may not work for Debian users when `slurm.install` is false

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
84
Forks
56
Avg merge
3d 17h
Merged PRs (30d)
1

Description

Native Debian (and also Ubuntu) use `/etc/default/slurmd/` as system config path, instead of RHEL's `/etc/sysconfig/slurmd`.
Therefore, if user use native Slurm, the following code may useless.

https://github.com/Azure/cyclecloud-slurm/blob/c5de6d68fe0c5319fdd44c2f367509c85bf3c135/specs/default/chef/site-cookbooks/slurm/recipes/execute.rb#L112-L121

An fix can be, when `node['slurm']['install'] == true` and `/etc/default/slurmd/` directory exists, write file into this directory instead.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.