Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x
- Puppet >= 5.0.0 < 7.0.0
- , ,
Tasks:
- reconfig
Start using this module
Add this module to your Puppetfile:
mod 'treydock-slurm', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet-slurm
Table of Contents
- Overview
- Usage - Configuration options
- Reference - Parameter and detailed reference to all options
- Limitations - OS compatibility, etc.
Overview
Manage SLURM.
Supported Versions of SLURM
This module is designed to work with SLURM 20.02.x.
Usage
This module is designed so the majority of configuration changes are made through the slurm
class directly.
In most cases all that is needed to begin using this module is to have include slurm
defined. The following usage examples are all assuming that a host has include slurm
performed already and the rest of the configuration is done via Hiera.
It's advisable to put as much of the Hiera data as possible in a location like common.yaml
.
Setup
In order to use SLURM the munge daemon must be configured. This module will include the munge
class from treydock/munge but will not configure munge. The minimial configuration needed is to set the munge key source to the munge key stored in a module somewhere.
munge::munge_key_source: "puppet:///modules/profile/munge.key"
As of version v2.3.0 you can also provide the content of the munge key, for example if your using EYAML in Hiera.
munge::munge_key_content: "supersecret"
Dependencies
The following parameter changes can be made to avoid dependencies on several modules
slurm::manage_firewall: false
- Disable dependency on puppetlabs/firewallslurm::use_nhc: false
ORslurm::include_nhc: false
- Disable dependency on treydock/nhcslurm::manage_rsyslog: false
ORslurm::use_syslog: false
- Disable dependenchy on saz/rsyslogslurm::manage_logrotate: false
- Disable dependency on puppet/logrotateslurm::source_install_manage_alternatives: false
- Wheninstall_method
issource
and installing on a system without a default Python install, this will disable a dependency on puppet/alternativesslurm::tuning_net_core_somaxconn: false
- Disable dependency on herculesteam/augeasproviders_sysctl
NOTE: If use_syslog
is set to true
there is a soft dependency on saz/rsyslog
NOTE: If use_nhc
and include_nhc
are set to true
there is a soft dependency on treydock/nhc
common
The following could be included in common.yaml
. This assumes your site has access to SLURM RPMs.
slurm::repo_baseurl: "https://repo.hpc.osc.edu/internal/slurm/%{facts.os.release.major}/"
slurm::install_torque_wrapper: true
slurm::install_pam: true
slurm::slurm_group_gid: 93
slurm::slurm_user_uid: 93
slurm::slurm_user_home: /var/lib/slurm
slurm::manage_firewall: false
slurm::use_syslog: true
slurm::cluster_name: example
slurm::slurmctld_host:
- slurmctld.example.com
slurm::slurmdbd_host: slurmdbd.example.com
slurm::greses:
nvml:
auto_detect: nvml
slurm::slurmd_spool_dir: /var/spool/slurmd
slurm::slurm_conf_override:
AccountingStorageTRES:
- gres/gpu
- gres/gpu:tesla
- license/ansys
Licenses:
- ansys:2
ReturnToService: 2
SelectType: select/cons_tres
SelectTypeParameters:
- CR_CPU
slurm::partitions:
batch:
default: 'YES'
def_mem_per_cpu: 1700
max_mem_per_cpu: 1750
nodes: slurmd01
slurm::nodes:
slurmd01:
node_hostname: slurmd01.example.com
cpus: 4
threads_per_core: 1
cores_per_socket: 1
sockets: 4
real_memory: 7000
Roles
The behavior of this module is determined by 5 booleans that set the role for a host.
client
- When true will setup a host as SLURM clientslurmctld
- When true will setup a host to run slurmctldslurmdbd
- When true will setup a host to run slurmdbddatabase
- When true will setup a host to manage the slurmdbd MySQL databaseslurmd
- When true will setup a host to run slurmd
NOTE: The only role enabled by default is client
.
Role: slurmdbd and database
The following example will setup an instance of slurmdbd that exports the database resource that can be collected by a database server:
slurm::client: true
slurm::slurmdbd: true
slurm::database: true
slurm::slurmdbd_storage_host: db.example.com
slurm::slurmdbd_storage_loc: slurm_acct_db
slurm::slurmdbd_storage_user: slurmdbd
slurm::slurmdbd_storage_pass: changeme
slurm::export_database: true
slurm::export_database_tag: "%{lookup('slurm::slurmdbd_storage_host')}"
slurm::slurmdbd_conf_override:
MaxQueryTimeRange: '90-00:00:00'
MessageTimeout: '10'
The database server would have something like the following to collect the db resources
Mysql::Db <<| tag == $facts['fqdn'] |>>
The following example would avoid PuppetDB dependency and require including the slurm
class on the MySQL server
# common.yaml
slurm::slurmdbd_storage_host: db.example.com
slurm::slurmdbd_storage_loc: slurm_acct_db
slurm::slurmdbd_storage_user: slurmdbd
slurm::slurmdbd_storage_pass: changeme
# fqdn/db.example.com.yaml
slurm::client: false
slurm::database: true
# fqdn/slurmdbd.example.com.yaml
slurm::slurmdbd: true
slurm::database: false
Role: slurmctld
The following enables a host to act as the slurmctld daemon with a remote slurmdbd.
slurm::client: true
slurm::slurmdbd: false
slurm::database: false
slurm::slurmctld: true
Role: slurmd
The following enables a host to act as a slurmd compute node
slurm::client: true
slurm::slurmdbd: false
slurm::database: false
slurm::slurmctld: false
slurm::slurmd: true
Role: client
If the majority of your configuration is done in common.yaml
then the default for slurm::client
of true
is sufficient to configure a host to act as a SLURM client.
Reference
http://treydock.github.io/puppet-slurm/
Limitations
This module has been tested on:
- RedHat/CentOS 7 x86_64
Development
Testing
Testing requires the following dependencies:
- rake
- bundler
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_repo_baseurl - URL to Yum repository containing SLURM RPMs. If not present will install from source
- SLURM_BEAKER\_version - Version of SLURM to install. Defaults to 20.02.0
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 BEAKER_set=centos-7
bundle exec rake beaker
Reference
Table of Contents
Classes
Public Classes
slurm
: Manage SLURM
Private Classes
slurm::client
:slurm::common::config
:slurm::common::install
:slurm::common::install::rpm
:slurm::common::install::source
:slurm::common::setup
:slurm::common::user
:slurm::params
:slurm::resources
: Manage SLURM resources using Puppet typesslurm::slurmctld
:slurm::slurmctld::config
:slurm::slurmctld::service
:slurm::slurmd
:slurm::slurmd::config
:slurm::slurmd::service
:slurm::slurmdbd
:slurm::slurmdbd::config
:slurm::slurmdbd::db
:slurm::slurmdbd::service
:slurm::slurmrestd
:slurm::slurmrestd::service
:
Defined types
slurm::down_node
: Manage SLURM down node configurationslurm::gres
: Manage SLURM GRES configurationslurm::node
: Manage SLURM node configurationslurm::nodeset
: Manage SLURM nodeset configurationslurm::partition
: Manage a SLURM partition configurationslurm::spank
: Manage SLURM SPANK pluginslurm::switch
: Add switch to topology.conf
Data types
Slurm::DownNodeState
:Slurm::NodeState
:Slurm::PartitionState
:Slurm::PreemptMode
:Slurm::SelectTypeParameters
:
Tasks
reconfig
: Execute 'scontrol reconfig'
Classes
slurm
Roles
Parameters
The following parameters are available in the slurm
class.
slurmd
Data type: Boolean
Default value: false
slurmctld
Data type: Boolean
Default value: false
slurmdbd
Data type: Boolean
Default value: false
database
Data type: Boolean
Default value: false
client
Data type: Boolean
Default value: true
slurmrestd
Data type: Boolean
Default value: false
repo_baseurl
Data type: Optional[Variant[Stdlib::HTTPSUrl, Stdlib::HTTPUrl, Pattern[/^file:\/\//]]]
Default value: undef
install_method
Data type: Optional[Enum['package','source']]
Default value: undef
install_prefix
Data type: Stdlib::Absolutepath
Default value: '/usr'
version
Data type: String
Default value: 'present'
install_torque_wrapper
Data type: Boolean
Default value: false
install_pam
Data type: Boolean
Default value: true
source_dependencies
Data type: Array
Default value: []
configure_flags
Data type: Array
Default value: []
source_install_manage_alternatives
Data type: Boolean
Default value: true
slurmd_service_ensure
Data type: Enum['running','stopped']
Default value: 'running'
slurmd_service_enable
Data type: Boolean
Default value: true
slurmd_service_limits
Data type: Hash
Default value: {}
slurmd_options
Data type: String
Default value: ''
slurmctld_service_ensure
Data type: Enum['running','stopped']
Default value: 'running'
slurmctld_service_enable
Data type: Boolean
Default value: true
slurmctld_service_limits
Data type: Hash
Default value: {}
slurmctld_options
Data type: String
Default value: ''
slurmdbd_service_ensure
Data type: Enum['running','stopped']
Default value: 'running'
slurmdbd_service_enable
Data type: Boolean
Default value: true
slurmdbd_service_limits
Data type: Hash
Default value: {}
slurmdbd_options
Data type: String
Default value: ''
slurmctld_restart_on_failure
Data type: Boolean
Default value: true
slurmdbd_restart_on_failure
Data type: Boolean
Default value: true
reload_services
Data type: Boolean
Default value: true
restart_services
Data type: Boolean
Default value: false
manage_slurm_user
Data type: Any
Default value: true
slurm_user_group
Data type: Any
Default value: 'slurm'
slurm_group_gid
Data type: Any
Default value: undef
slurm_user
Data type: Any
Default value: 'slurm'
slurm_user_uid
Data type: Any
Default value: undef
slurm_user_comment
Data type: Any
Default value: 'SLURM User'
slurm_user_home
Data type: Any
Default value: '/var/lib/slurm'
slurm_user_managehome
Data type: Any
Default value: true
slurm_user_shell
Data type: Any
Default value: '/sbin/nologin'
slurmd_user
Data type: Any
Default value: 'root'
slurmd_user_group
Data type: Any
Default value: 'root'
manage_slurm_conf
Data type: Any
Default value: true
manage_scripts
Data type: Any
Default value: true
manage_firewall
Data type: Any
Default value: true
use_syslog
Data type: Any
Default value: false
manage_logrotate
Data type: Any
Default value: true
manage_rsyslog
Data type: Any
Default value: true
manage_state_dir_nfs_mount
manage_job_checkpoint_dir_nfs_mount
manage_database
Data type: Any
Default value: true
export_database
Data type: Any
Default value: false
export_database_tag
Data type: Any
Default value: $facts['domain']
state_dir_nfs_device
Data type: Any
Default value: undef
state_dir_nfs_options
Data type: Any
Default value: 'rw,sync,noexec,nolock,auto'
job_checkpoint_dir_nfs_device
Data type: Any
Default value: undef
job_checkpoint_dir_nfs_options
Data type: Any
Default value: 'rw,sync,noexec,nolock,auto'
job_submit_lua_source
Data type: Any
Default value: undef
job_submit_lua_content
Data type: Any
Default value: undef
cluster_name
Data type: Any
Default value: 'linux'
slurmctld_host
Data type: Variant[Array, String]
Default value: 'slurm'
slurmdbd_host
Data type: Any
Default value: 'slurmdbd'
conf_dir
Data type: Stdlib::Absolutepath
Default value: '/etc/slurm'
log_dir
Data type: Stdlib::Absolutepath
Default value: '/var/log/slurm'
log_dir
Default value: '/var/log/slurm'
plugstack_conf
spank_plugins
Data type: Hash
Default value: {}
configless
Data type: Boolean
Default value: false
conf_server
Data type: Optional[String]
Default value: undef
slurm_conf_override
Data type: Any
Default value: {}
slurm_conf_template
Data type: Any
Default value: 'slurm/slurm.conf/slurm.conf.erb'
slurm_conf_source
Data type: Any
Default value: undef
partition_template
Data type: Any
Default value: 'slurm/slurm.conf/conf_values.erb'
partition_source
Data type: Any
Default value: undef
node_template
Data type: Any
Default value: 'slurm/slurm.conf/conf_values.erb'
node_source
Data type: Any
Default value: undef
switch_template
Data type: Any
Default value: 'slurm/slurm.conf/conf_values.erb'
topology_source
Data type: Any
Default value: undef
gres_template
Data type: Any
Default value: 'slurm/slurm.conf/conf_values.erb'
gres_source
Data type: Any
Default value: undef
partitions
Data type: Any
Default value: {}
nodes
Data type: Any
Default value: {}
nodesets
Data type: Any
Default value: {}
switches
Data type: Any
Default value: {}
greses
Data type: Any
Default value: {}
slurmd_log_file
Data type: Optional[Stdlib::Absolutepath]
Default value: undef
slurmd_spool_dir
Data type: Any
Default value: '/var/spool/slurmd'
job_checkpoint_dir
Data type: Any
Default value: '/var/spool/slurmctld.checkpoint'
slurmctld_log_file
Data type: Optional[Stdlib::Absolutepath]
Default value: undef
state_save_location
Data type: Any
Default value: '/var/spool/slurmctld.state'
slurmdbd_archive_dir
Data type: Stdlib::Absolutepath
Default value: '/var/lib/slurmdbd.archive'
slurmdbd_log_file
Data type: Optional[Stdlib::Absolutepath]
Default value: undef
slurmdbd_storage_host
Data type: Any
Default value: 'localhost'
slurmdbd_storage_loc
Data type: Any
Default value: 'slurm_acct_db'
slurmdbd_storage_pass
Data type: Any
Default value: 'slurmdbd'
slurmdbd_storage_port
Data type: Any
Default value: '3306'
slurmdbd_storage_type
Data type: Any
Default value: 'accounting_storage/mysql'
slurmdbd_storage_user
Data type: Any
Default value: 'slurmdbd'
slurmdbd_conf_override
Data type: Any
Default value: {}
slurmdbd_archive_dir_nfs_device
Data type: Any
Default value: undef
slurmdbd_archive_dir_nfs_options
Data type: Any
Default value: 'rw,sync,noexec,nolock,auto'
use_nhc
Data type: Any
Default value: false
include_nhc
Data type: Any
Default value: false
health_check_program
Data type: Any
Default value: undef
health_check_program_source
Data type: Any
Default value: undef
manage_epilog
Data type: Any
Default value: true
epilog
Data type: Any
Default value: undef
epilog_source
Data type: Any
Default value: undef
epilog_sourceselect
Data type: Any
Default value: undef
manage_prolog
Data type: Any
Default value: true
prolog
Data type: Any
Default value: undef
prolog_source
Data type: Any
Default value: undef
prolog_sourceselect
Data type: Any
Default value: undef
manage_task_epilog
Data type: Any
Default value: true
task_epilog
Data type: Any
Default value: undef
task_epilog_source
Data type: Any
Default value: undef
manage_task_prolog
Data type: Any
Default value: true
task_prolog
Data type: Any
Default value: undef
task_prolog_source
Data type: Any
Default value: undef
slurmrestd_listen_address
Data type: String
Default value: '0.0.0.0'
slurmrestd_service_ensure
Data type: Enum['running','stopped']
Default value: 'running'
slurmrestd_service_enable
Data type: Boolean
Default value: true
slurmrestd_service_limits
Data type: Hash
Default value: {}
slurmrestd_options
Data type: String
Default value: ''
slurmrestd_restart_on_failure
Data type: Boolean
Default value: true
cgroup_conf_template
Data type: String
Default value: 'slurm/cgroup/cgroup.conf.erb'
cgroup_conf_source
Data type: Optional[String]
Default value: undef
cgroup_automount
Data type: Boolean
Default value: true
cgroup_mountpoint
Data type: Stdlib::Absolutepath
Default value: '/sys/fs/cgroup'
cgroup_allowed_kmem_space
Data type: Optional[Integer]
Default value: undef
cgroup_allowed_ram_space
Data type: Integer
Default value: 100
cgroup_allowed_swap_space
Data type: Integer
Default value: 0
cgroup_constrain_cores
Data type: Boolean
Default value: false
cgroup_constrain_devices
Data type: Boolean
Default value: false
cgroup_constrain_kmem_space
Data type: Boolean
Default value: false
cgroup_constrain_ram_space
Data type: Boolean
Default value: false
cgroup_constrain_swap_space
Data type: Boolean
Default value: false
cgroup_max_ram_percent
Data type: Integer
Default value: 100
cgroup_max_swap_percent
Data type: Integer
Default value: 100
cgroup_max_kmem_percent
Data type: Integer
Default value: 100
cgroup_memory_swappiness
Data type: Optional[Integer[0,100]]
Default value: undef
cgroup_min_kmem_space
Data type: Integer
Default value: 30
cgroup_min_ram_space
Data type: Integer
Default value: 30
cgroup_task_affinity
Data type: Boolean
Default value: false
slurm_sh_template
Data type: Any
Default value: 'slurm/profile.d/slurm.sh.erb'
slurm_csh_template
Data type: Any
Default value: 'slurm/profile.d/slurm.csh.erb'
profile_d_env_vars
Data type: Hash
Default value: {}
slurmd_port
Data type: Stdlib::Port
Default value: 6818
slurmctld_port
Data type: Stdlib::Port
Default value: 6817
slurmdbd_port
Data type: Stdlib::Port
Default value: 6819
slurmrestd_port
Data type: Stdlib::Port
Default value: 6820
tuning_net_core_somaxconn
Data type: Variant[Boolean, Integer]
Default value: 1024
clusters
Data type: Hash
Default value: {}
qoses
Data type: Hash
Default value: {}
reservations
Data type: Hash
Default value: {}
accounts
Data type: Hash
Default value: {}
users
Data type: Hash
Default value: {}
purge_qos
Data type: Boolean
Default value: false
Defined types
slurm::down_node
Manage SLURM down node configuration
Parameters
The following parameters are available in the slurm::down_node
defined type.
down_nodes
Data type: String
Default value: $name
reason
Data type: Optional[String]
Default value: undef
state
Data type: Slurm::DownNodeState
Default value: 'UNKNOWN'
order
Data type: Any
Default value: '75'
slurm::gres
Manage SLURM GRES configuration
Examples
Add static GPU GRES
slurm::gres { 'gpu':
type => 'v100',
file => '/dev/nvidia0',
cores => '0,1',
}
Add nvml AutoDetect gres
slurm::gres { 'nvml':
auto_detect => 'nvml',
}
Parameters
The following parameters are available in the slurm::gres
defined type.
gres_name
Data type: Any
Default value: $name
type
Data type: Any
Default value: undef
node_name
Data type: Any
Default value: undef
auto_detect
Data type: Optional[Enum['nvml']]
Default value: undef
count
Data type: Any
Default value: undef
cores
Data type: Any
Default value: undef
file
Data type: Any
Default value: undef
flags
Data type: Optional[Enum['CountOnly']]
Default value: undef
links
Data type: Any
Default value: undef
switch_name
Data type: Any
Default value: $name
switches
Data type: Any
Default value: undef
nodes
link_speed
Data type: Any
Default value: undef
order
Data type: Any
Default value: '50'
slurm::node
Manage SLURM node configuration
Parameters
The following parameters are available in the slurm::node
defined type.
node_name
Data type: Any
Default value: $name
node_hostname
Data type: Any
Default value: undef
node_addr
Data type: Any
Default value: undef
boards
Data type: Any
Default value: undef
core_spec_count
Data type: Any
Default value: undef
cores_per_socket
Data type: Any
Default value: undef
cpu_bind
Data type: Any
Default value: undef
cpus
Data type: Any
Default value: undef
cpu_spec_list
Data type: Any
Default value: undef
feature
Data type: Any
Default value: undef
gres
Data type: Any
Default value: undef
mem_spec_limit
Data type: Any
Default value: undef
port
Data type: Any
Default value: undef
real_memory
Data type: Any
Default value: undef
sockets
Data type: Any
Default value: undef
sockets_per_board
Data type: Any
Default value: undef
state
Data type: Slurm::NodeState
Default value: 'UNKNOWN'
threads_per_core
Data type: Any
Default value: undef
tmp_disk
Data type: Optional[Integer]
Default value: undef
tres_weights
Data type: Any
Default value: undef
weight
Data type: Optional[Integer]
Default value: undef
order
Data type: Any
Default value: '90'
slurm::nodeset
Manage SLURM nodeset configuration
Parameters
The following parameters are available in the slurm::nodeset
defined type.
feature
Data type: Optional[String]
Default value: undef
nodes
Data type: Optional[String]
Default value: undef
node_set
Data type: String
Default value: $name
order
Data type: Any
Default value: '40'
slurm::partition
Manage a SLURM partition configuration
Parameters
The following parameters are available in the slurm::partition
defined type.
partition_name
Data type: Any
Default value: $name
alloc_nodes
Data type: Any
Default value: undef
allow_accounts
Data type: Any
Default value: undef
allow_groups
Data type: Any
Default value: undef
allow_qos
Data type: Any
Default value: undef
alternate
Data type: Any
Default value: undef
cpu_bind
Data type: Any
Default value: undef
default
Data type: Optional[Enum['YES','NO']]
Default value: undef
def_cpu_per_gpu
Data type: Any
Default value: undef
def_mem_per_cpu
Data type: Any
Default value: undef
def_mem_per_gpu
Data type: Any
Default value: undef
def_mem_per_node
Data type: Any
Default value: undef
deny_accounts
Data type: Any
Default value: undef
deny_qos
Data type: Any
Default value: undef
default_time
Data type: Any
Default value: undef
disable_root_jobs
Data type: Optional[Enum['YES','NO']]
Default value: undef
exclusive_user
Data type: Optional[Enum['YES','NO']]
Default value: undef
grace_time
Data type: Any
Default value: undef
hidden
Data type: Optional[Enum['YES','NO']]
Default value: undef
lln
Data type: Optional[Enum['YES','NO']]
Default value: undef
max_cpus_per_node
Data type: Any
Default value: undef
max_mem_per_cpu
Data type: Any
Default value: undef
max_mem_per_node
Data type: Any
Default value: undef
max_nodes
Data type: Any
Default value: undef
max_time
Data type: Any
Default value: undef
min_nodes
Data type: Any
Default value: undef
nodes
Data type: Any
Default value: undef
over_subscribe
Data type: Optional[Enum['EXCLUSIVE','FORCE','YES','NO']]
Default value: undef
preempt_mode
Data type: Optional[Slurm::PreemptMode]
Default value: undef
priority_job_factor
Data type: Any
Default value: undef
priority_tier
Data type: Any
Default value: undef
qos
Data type: Any
Default value: undef
req_resv
Data type: Any
Default value: undef
root_only
Data type: Optional[Enum['YES','NO']]
Default value: undef
select_type_parameters
Data type: Optional[Slurm::SelectTypeParameters]
Default value: undef
shared
Data type: Any
Default value: undef
state
Data type: Slurm::PartitionState
Default value: 'UP'
tres_billing_weights
Data type: Any
Default value: undef
order
Data type: Any
Default value: '50'
slurm::spank
Manage SLURM SPANK plugin
Parameters
The following parameters are available in the slurm::spank
defined type.
plugin
Data type: String
The shared library
Default value: "${name}.so"
arguments
Data type: Hash
Arguments for the plugin
Default value: {}
required
Data type: Boolean
Is this plugin required?
Default value: false
manage_package
Data type: Boolean
Manage plugin package?
Default value: true
package_name
Data type: String
Plugin package name
Default value: "slurm-spank-${name}"
order
Data type: Any
Order in plugstack.conf
Default value: '50'
slurm::switch
Add switch to topology.conf
Examples
slurm::switch { 'switch1':
switches => 'switch[2-3],
}
slurm::switch { 'switch2':
nodes => 'c0[1-2]',
}
Parameters
The following parameters are available in the slurm::switch
defined type.
switch_name
Data type: Any
= $name, SwitchName value, see man page for topology.conf
Default value: $name
switches
Data type: Any
= undef, Switches value, see man page for topology.conf
Default value: undef
nodes
Data type: Any
= undef, Nodes value, see man page for topology.conf
Default value: undef
link_speed
Data type: Any
= undef, LinkSpeed value, see man page for topology.conf
Default value: undef
order
Data type: Any
= '50', Order inside topology.conf
Default value: '50'
Data types
Slurm::DownNodeState
The Slurm::DownNodeState data type.
Alias of Enum['DOWN', 'DRAIN', 'FAIL', 'FAILING', 'UNKNOWN']
Slurm::NodeState
The Slurm::NodeState data type.
Alias of Variant[Enum['CLOUD','FUTURE'], Slurm::DownNodeState]
Slurm::PartitionState
The Slurm::PartitionState data type.
Alias of Enum['UP', 'DOWN', 'DRAIN', 'INACTIVE']
Slurm::PreemptMode
The Slurm::PreemptMode data type.
Alias of Enum['OFF', 'CANCEL', 'CHECKPOINT', 'GANG', 'REQUEUE', 'SUSPEND']
Slurm::SelectTypeParameters
The Slurm::SelectTypeParameters data type.
Alias of Enum['CR_Core', 'CR_Core_Memory', 'CR_Socket', 'CR_Socket_Memory']
Tasks
reconfig
Execute 'scontrol reconfig'
Supports noop? false
Parameters
scontrol
Data type: String[1]
Path to scontrol (default: 'scontrol', searches $PATH)
What are tasks?
Modules can contain tasks that take action outside of a desired state managed by Puppet. It’s perfect for troubleshooting or deploying one-off changes, distributing scripts to run across your infrastructure, or automating changes that need to happen in a particular order as part of an application deployment.
Tasks in this module release
Change log
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.1.0 (2020-06-26)
Changed
UNCATEGORIZED PRS; GO LABEL THEM
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>=4.25.1 <7.0.0)
- puppetlabs/firewall (>=1.0.0 <3.0.0)
- puppetlabs/concat (>=1.0.0 <7.0.0)
- puppetlabs/mysql (>=2.3.0 <11.0.0)
- puppet/epel (>= 3.0.0 <4.0.0)
- herculesteam/augeasproviders_sysctl (>= 2.0.0 <3.0.0)
- puppet/logrotate (>= 3.4.0 <5.0.0)
- treydock/munge (>= 1.1.0 <3.0.0)
- camptocamp/systemd (>= 1.1.0 <3.0.0)
- puppet/archive (>= 1.0.0 <5.0.0)
- puppet/alternatives (>= 2.1.0 <4.0.0)
- treydock/slurm_providers (>= 0.5.0 <1.0.0)
Puppet-slurm - Puppet module for SLURM. Copyright (C) 2012 CERN Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.