Resource Type: slurm_user

Defined in:
lib/puppet/type/slurm_user.rb
Providers:
sacctmgr

Overview

Puppet type that manages a SLURM user

Examples:

Add SLURM user under account 'bar' on cluster 'test'

slurm_user { 'foo under bar on test':
  ensure    => 'present',
  max_jobs  => 1000,
  priority  => 9999,
}

Add SLURM user under account 'bar' on cluster 'test'

slurm_user { 'foo:bar:test':
  ensure    => 'present',
  max_jobs  => 1000,
  priority  => 9999,
}

Properties

  • admin_level (defaults to: None)

    AdminLevel

    Supported values:
    • None
    • Operator
    • Administrator
  • default_account

    DefaultAccount

  • default_qos

    DefaultQOS

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • fairshare (defaults to: 1)

    Fairshare number or “parent”

  • grp_jobs (defaults to: absent)

    GrpJobs

  • grp_jobs_accrue (defaults to: absent)

    GrpJobsAccrue

  • grp_submit_jobs (defaults to: absent)

    GrpSubmitJobs

  • grp_tres (defaults to: absent)

    GrpTRES

  • grp_tres_mins (defaults to: absent)

    GrpTRESMins

  • grp_tres_run_mins (defaults to: absent)

    GrpTRESRunMins

  • grp_wall (defaults to: absent)

    GrpWall

  • max_jobs (defaults to: absent)

    MaxJobs

  • max_jobs_accrue (defaults to: absent)

    MaxJobsAccrue

  • max_submit_jobs (defaults to: absent)

    MaxSubmitJobs

  • max_tres_mins_per_job (defaults to: absent)

    MaxTresMinsPerJob

  • max_tres_per_job (defaults to: absent)

    MaxTresPerJob

  • max_tres_per_node (defaults to: absent)

    MaxTresPerJob

  • max_wall_duration_per_job (defaults to: absent)

    MaxWallDurationPerJob

  • priority

    Priority

  • qos

    QOS, undefined will inherit parent QOS

Parameters

  • account

    Account name

  • cluster

    Cluster name

  • name (namevar)

    User name

  • partition (defaults to: absent)

    Partition name

  • provider

    The specific backend to use for this slurm_user resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • user

    User name