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', } 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',