From 9c37a0366b684714e8699ce3483f4e1d5da13488 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 10 Jul 2024 13:33:33 -0700 Subject: [PATCH 1/3] Update vgpu package url --- data/cloud/openstack/arbutus.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/cloud/openstack/arbutus.yaml b/data/cloud/openstack/arbutus.yaml index 76f917c..7811bfa 100644 --- a/data/cloud/openstack/arbutus.yaml +++ b/data/cloud/openstack/arbutus.yaml @@ -1,6 +1,6 @@ profile::gpu::install::vgpu::installer: rpm -profile::gpu::install::vgpu::rpm::source: http://repo.arbutus.cloud.computecanada.ca/pulp/repos/centos/arbutus-cloud-vgpu-repo.el%{facts.os.release.major}.noarch.rpm +profile::gpu::install::vgpu::rpm::source: http://repo.arbutus.cloud.computecanada.ca/pulp/repos/alma8/Packages/a/arbutus-cloud-vgpu-repo-1.0-1.el%{facts.os.release.major}.noarch.rpm profile::gpu::install::vgpu::rpm::packages: - nvidia-vgpu-kmod - nvidia-vgpu-gridd - - nvidia-vgpu-tools \ No newline at end of file + - nvidia-vgpu-tools From 503bf1c33f06dfa912efcc0b9744318dde33209c Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 10 Jul 2024 13:34:42 -0700 Subject: [PATCH 2/3] Fix source_pkg_name --- site/profile/manifests/gpu.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/profile/manifests/gpu.pp b/site/profile/manifests/gpu.pp index 85eaf1b..4b2a9ca 100644 --- a/site/profile/manifests/gpu.pp +++ b/site/profile/manifests/gpu.pp @@ -158,7 +158,7 @@ String $source, Array[String] $packages, ) { - $source_pkg_name = split(split($source, '[/]')[-1], '[.]')[0] + $source_pkg_name = (split($source, '[/]')[-1]).regsubst(/\.rpm/, '', 'G') package { 'vgpu-repo': ensure => 'latest', provider => 'rpm', From 027aa271ccdf891a24f8508a61a8ae2715e9b589 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 10 Jul 2024 13:35:13 -0700 Subject: [PATCH 3/3] Update cvmfs package version --- site/profile/manifests/cvmfs.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/profile/manifests/cvmfs.pp b/site/profile/manifests/cvmfs.pp index 3bc6e5d..47ab151 100644 --- a/site/profile/manifests/cvmfs.pp +++ b/site/profile/manifests/cvmfs.pp @@ -31,7 +31,7 @@ package { 'cc-cvmfs-repo': ensure => 'installed', provider => 'rpm', - name => 'computecanada-release-1.0-1.noarch', + name => 'computecanada-release-2.0-1.noarch', source => 'https://package.computecanada.ca/yum/cc-cvmfs-public/prod/RPM/computecanada-release-latest.noarch.rpm', }