- Overview
- Setup - The basics of getting started
- Reference - An under-the-hood peek at what the module is doing
- Limitations - OS compatibility, etc.
The SLURM providers module lets you manage various SLURM resources with Puppet.
Currenlty this module supports version 19.05 of SLURM
This module requires that sacctmgr
be in PATH
.
If SLURM binaries are is not in path then then you must configure Puppet with a valid path to sacctmgr
and scontrol
.
Below is an example of configuring Puppet if SLURM install prefix is /opt/slurm
.
slurm_config { 'puppet':
sacctmgr_path => '/opt/slurm/bin/sacctmgr',
scontrol_path => '/opt/slurm/bin/scontrol',
}
http://treydock.github.io/puppet-slurm_providers/
This module has been tested using the following versions of SLURM
- 23.02.x
- 23.11.x
- 24.05.x
The following operating systems have been tested
- RHEL/CentOS 7 x86_64
- RHEL/Rocky 8 x86_64
- RHEL/Rocky 9 x86_64
Install gem dependencies
bundle install
Run unit tests
bundle exec rake spec
The following environment variables can be used to modify the behavior of the beaker tests:
- SLURM_BEAKER_version - Version of SLURM to install. Defaults to 20.02.3
Example of running beaker tests using an internal repository, and leaving VMs running after the tests.
export BEAKER_destroy=no
export BEAKER_PUPPET_COLLECTION=puppet5
export PUPPET_INSTALL_TYPE=agent
export BEAKER_set=centos-7
bundle exec rake beaker