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

Allow for custom content #18

Closed
Falkor opened this issue Feb 2, 2019 · 1 comment
Closed

Allow for custom content #18

Falkor opened this issue Feb 2, 2019 · 1 comment
Milestone

Comments

@Falkor
Copy link
Contributor

Falkor commented Feb 2, 2019

Add a new parameter custom_content to allow for quickly test and deploy directives within slurm.conf not yet managed as [hiera] parameters of the module... I should have planned that from the beginning ;)

@Falkor Falkor added this to the 1.2 milestone Feb 2, 2019
Falkor pushed a commit that referenced this issue Feb 2, 2019
- Bugfix #18

Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
@Falkor
Copy link
Contributor Author

Falkor commented Feb 2, 2019

Example of hiera setting (multiline YAML with |) (used in tests/vagrant/puppet/hieradata/custom.yaml):

slurm::custom_content: |
  SlurmctldSyslogDebug=fatal
  SuspendExcNodes=iris-[10-20]:4,iris-[80-90]:2

Which results in the following:

$> vagrant provision --provision-with puppet slurm-master
==> generating hieradata/locals.yaml
==> slurm-master: Running provisioner: puppet...
[...]
==> slurm-master: Info: Applying configuration version '1549121528'
==> slurm-master: Notice: /Stage[main]/Slurm::Config/File[slurm.conf]/content:
==> slurm-master: --- /etc/slurm/slurm.conf	2019-02-02 15:03:56.557671308 +0000
==> slurm-master: +++ /tmp/puppet-file20190202-24821-1nhsutc	2019-02-02 15:32:16.838333212 +0000
==> slurm-master: @@ -245,6 +245,11 @@
==> slurm-master:  MpiDefault=pmi2
==> slurm-master:  MpiParams=ports=55000-59999
==> slurm-master:
==> slurm-master: +### Custom content
==> slurm-master: +SlurmctldSyslogDebug=fatal
==> slurm-master: +SuspendExcNodes=iris-[10-20]:4,iris-[80-90]:2
==> slurm-master: +
==> slurm-master: +
==> slurm-master:  ###############################
==> slurm-master:  ### Network Characteristics ###
==> slurm-master:  ###############################
==> slurm-master:
==> slurm-master: Info: Computing checksum on file /etc/slurm/slurm.conf
[...]

@Falkor Falkor closed this as completed Feb 2, 2019
Falkor pushed a commit that referenced this issue Feb 3, 2019
TRES, scheduler parameters and custom content management

- Bugfix #2: slurmdbd on separate host bug
- Bugfix #7: slurm-login nodes without daemons
- Bugfix #12: slurm-17.11.3 install fails bug
- Bugfix #13: Add SchedulerParameters to slurm.conf.erb template
- Bugfix #14: Prevent improper use of SchedMD resources
- Bugfix #16: Allow for TRESBillingWeights enhancement
- Bugfix #17: Consolidate vagrant setup for module validation on a virtual cluster enhancement
- Bugfix #18: Allow for custom content enhancement
uvNikita pushed a commit to uvNikita/puppet-slurm that referenced this issue Apr 5, 2019
- Bugfix ULHPC#18

Signed-off-by: Sebastien Varrette <Sebastien.Varrette@uni.lu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant