Resource Type: slurm_qos

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

Overview

Puppet type that manages a SLURM QOS

Examples:

Add SLURM QOS

slurm_qos { 'high':
  ensure            => 'present',
  flags             => ['DenyOnLimit','RequiresReservation'],
  grace_time        => 300,
  grp_tres          => { 'node' => 40 },
  max_tres_per_user => { 'node' => 20 },
  max_wall          => '2-00:00:00',
  priority          => 2000000,
}

Properties

  • description

    Description

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • flags (defaults to: absent)

    Flags

    Supported values:
    • DenyOnLimit
    • EnforceUsageThreshold
    • NoReserve
    • PartitionMaxNodes
    • PartitionMinNodes
    • OverPartQOS
    • PartitionTimeLimit
    • RequiresReservation
    • NoDecay
    • UsageFactorSafe
    • absent
  • grace_time (defaults to: 0)

    GraceTime

  • 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_per_account (defaults to: absent)

    MaxJobsPerAccount

  • max_jobs_per_user (defaults to: absent)

    MaxJobsPerUser

  • max_submit_jobs_per_account (defaults to: absent)

    MaxSubmitJobsPerAccount

  • max_submit_jobs_per_user (defaults to: absent)

    MaxSubmitJobsPerUser

  • max_tres_mins (defaults to: absent)

    MaxTresMins

  • max_tres_per_account (defaults to: absent)

    MaxTresPerAccount

  • max_tres_per_job (defaults to: absent)

    MaxTresPerJob

  • max_tres_per_node (defaults to: absent)

    MaxTresPerNode

  • max_tres_per_user (defaults to: absent)

    MaxTresPerUser

  • max_wall (defaults to: absent)

    MaxWall

  • min_prio_threshold (defaults to: absent)

    MinPrioThreshold

  • min_tres_per_job (defaults to: absent)

    MinTRESPerJob

  • preempt (defaults to: absent)

    Preempt

  • preempt_exempt_time (defaults to: absent)

    PreemptExemptTime

  • preempt_mode (defaults to: cluster)

    PreemptMode

    Supported values:
    • cluster
    • cancel
    • checkpoint
    • requeue
  • priority (defaults to: 0)

    Priority

  • usage_factor (defaults to: 1.000000)

    UsageFactor

  • usage_threshold (defaults to: absent)

    UsageThreshold

Parameters

  • name (namevar)

    QOS name

  • provider

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