fix bash subshell for corosync::cleanup workaround
This commit is contained in:
parent
b7ec3e876c
commit
91fa29545a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user