Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allowed potentially multiple SlurmctldHost as one might have backupcontrollers. #36

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jakob1379
Copy link

@jakob1379 jakob1379 commented Jun 8, 2023

Consider the case where you want to have a backupcontroller. This is currently not possible as yaml/ansible is not happy with duplicate keys, so the previous key would simply be overwritten. Instead if we allow keys to be either string, or lists of strings that would expand to multiple instances of the key in the slurm.conf file we would have the desired effect e.g.

SlurmctldHost: [node-1,node-2]

would expand to

SlurmctldHost=node-1
SlurmctldHost=node-2

While

SlurmctldHost: node-1

would expand to

SlurmctldHost=node-1

allowed potentially multiple SlurmctldHost as one might have backupcontrollers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant