Skip to content

Commit

Permalink
-fix quotation and remove static value from testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
m3n3pm committed Dec 30, 2024
1 parent aa95bc6 commit 38cd198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/group.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
if $ensure == 'latest' {
exec { "yum-groupinstall-${name}-latest":
command => join(concat(["yum -y group install '${name}'"], $install_options), ' '),
unless => 'test $(yum --assumeno group install DVT-Full 2>/dev/null| grep -c "^Install.*Package\|^Upgrade.*Package") -eq 0',
unless => "test $(yum --assumeno group install '${name}' 2>/dev/null| grep -c '^Install.*Package\|^Upgrade.*Package') -eq 0",
timeout => $timeout,
require => Exec["yum-groupinstall-${name}"],
}
Expand Down

0 comments on commit 38cd198

Please sign in to comment.