Skip to content

Commit

Permalink
Merge pull request #232 from ComputeCanada/slurm23.02
Browse files Browse the repository at this point in the history
Add Slurm 23.02 to the slurm version options
  • Loading branch information
cmd-ntrf authored Aug 24, 2023
2 parents 19f597f + aa5bdbe commit dcc3d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/profile/manifests/slurm.pp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class profile::slurm::base (
String $cluster_name,
String $munge_key,
Enum['20.11', '21.08', '22.05'] $slurm_version,
Enum['20.11', '21.08', '22.05', '23.02'] $slurm_version,
Integer $os_reserved_memory,
Integer $suspend_time = 3600,
Integer $resume_timeout = 3600,
Expand Down Expand Up @@ -551,7 +551,7 @@

$slurm_version = lookup('profile::slurm::base::slurm_version')
if versioncmp($slurm_version, '22.05') >= 0 {
$cc_tmpfs_mounts_url = 'https://download.copr.fedorainfracloud.org/results/cmdntrf/spank-cc-tmpfs_mounts-22.05/'
$cc_tmpfs_mounts_url = "https://download.copr.fedorainfracloud.org/results/cmdntrf/spank-cc-tmpfs_mounts-${slurm_version}/"
} else {
$cc_tmpfs_mounts_url = 'https://download.copr.fedorainfracloud.org/results/cmdntrf/spank-cc-tmpfs_mounts/'
}
Expand Down

0 comments on commit dcc3d22

Please sign in to comment.