Forge Home

slurm_providers

Slurm Puppet types/providers

12,035 downloads

7 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.15.0 (latest)
  • 0.14.1
  • 0.14.0
  • 0.13.0
  • 0.12.4
  • 0.12.3
  • 0.12.2
  • 0.12.1
  • 0.12.0
  • 0.11.1
  • 0.11.0
  • 0.10.0
  • 0.9.0
  • 0.8.0
  • 0.7.3
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.1
  • 0.6.0
  • 0.5.0
  • 0.4.2
  • 0.4.1
  • 0.4.0
  • 0.3.0
  • 0.2.0
  • 0.1.1
  • 0.1.0
released Dec 26th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'treydock-slurm_providers', '0.15.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add treydock-slurm_providers
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install treydock-slurm_providers --version 0.15.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: hpc, slurm, batch

Documentation

treydock/slurm_providers — version 0.15.0 Dec 26th 2024

puppet-slurm_providers

Puppet Forge CI Status

Table of Contents

  1. Overview
  2. Setup - The basics of getting started
  3. Reference - An under-the-hood peek at what the module is doing
  4. Limitations - OS compatibility, etc.

Overview

The SLURM providers module lets you manage various SLURM resources with Puppet.

Supported versions of SLURM

Currenlty this module supports version 19.05 of SLURM

Setup

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',
}

Reference

http://treydock.github.io/puppet-slurm_providers/

Limitations

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

Development

Testing

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