diff --git a/manifests/init.pp b/manifests/init.pp index dc914fd6..858fde43 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -172,7 +172,7 @@ } -> exec { 'remove-old-versions-of-sonarqube': - command => "/tmp/cleanup-old-sonarqube-versions.sh ${installroot} ${version}", + command => "bash /tmp/cleanup-old-sonarqube-versions.sh ${installroot} ${version}", path => '/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin', }