Skip to content

Commit

Permalink
Fix source_pkg_name for vgpus
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Jul 10, 2024
1 parent 5544251 commit 9e33c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/profile/manifests/gpu.pp
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,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',
Expand Down

0 comments on commit 9e33c33

Please sign in to comment.