diff --git a/deployment/puppet/corosync/manifests/cleanup.pp b/deployment/puppet/corosync/manifests/cleanup.pp index 8196d271f5..3a0447bdaf 100644 --- a/deployment/puppet/corosync/manifests/cleanup.pp +++ b/deployment/puppet/corosync/manifests/cleanup.pp @@ -20,7 +20,7 @@ define corosync::cleanup () { ##FIXME: we need to create a better way to workaround crm commit <-> cleanup race condition than a simple sleep exec { "crm resource cleanup $name": - command => "(sleep 5 && crm resource cleanup $name) || :", + command => "bash -c \"(sleep 5 && crm resource cleanup $name) || :\"", path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'], refreshonly => true, timeout => 600,