torque

Module for managing Torque
deric

deric

deric

9,376 downloads

8,183 latest version

4.1 quality score

Version information

  • 0.3.0 (latest)
  • 0.2.0
  • 0.1.0
released Jul 3rd 2019

Start using this module

Documentation

deric/torque — version 0.3.0 Jul 3rd 2019

#puppet-torque Build Status

This is a Puppet module for managing Torque resource manager and Maui scheduler.

Usage

server:

class { 'torque::server': }

By default server_name is the $::hostname of the server node (we get it from Facter). You can choose to use other fact of some value, e.g.:

class { 'torque':
  server_name => $::fqdn
}
  • One can run both the server and client on the same box (Within server class is not included client)

client (a computing node):

class { 'torque::client': }

Default Torque home directory is /var/spool/torque, you can change it:

class { 'torque':
  torque_home => '/etc/torque'
}

Queues

Queues can be configured via qmgr_queues hash which you pass to torque::server.

torque::server::qmgr_queues:
  short:
    - 'enabled = True'
    - 'started = True'
    - 'queue_type = Execution'

Nodes

Nodes can be specified via Hiera config (also you can pass a config hash to torque::server class):

torque::server::nodes:
  myserver1:
    cpus: 10
  gpu.example.com:
    cpus: 5
    gpus: 10

Maui

In order to install Maui you have to have a binary package for your distribution.

Hiera support

Hiera is supported out-of-the-box, you can set any class parameter from YAML config files.

torque::server_name: '192.168.1.1'

Dependencies

  • puppetlabs/stdlib >= 2.0.0
  • puppetlabs/apt >= 1.0.0

License

Apache License 2.0