Skip to content

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

jakob1379 added 3 commits June 8, 2023 10:01
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