Merge "Fix rabbitmq restart"

This commit is contained in:
Zuul 2019-02-16 02:32:09 +00:00 committed by Gerrit Code Review
commit c6f386d181
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ outputs:
user: root
command:
- '/usr/bin/bootstrap_host_exec'
- 'rabbitmq'
- 'oslo_messaging_notify'
- str_replace:
template:
'if /usr/sbin/pcs resource show rabbitmq-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT rabbitmq-bundle; echo "rabbitmq-bundle restart invoked"; fi'

View File

@ -193,7 +193,7 @@ outputs:
user: root
command:
- '/usr/bin/bootstrap_host_exec'
- 'rabbitmq'
- 'oslo_messaging_rpc'
- str_replace:
template:
'if /usr/sbin/pcs resource show rabbitmq-bundle; then /usr/sbin/pcs resource restart --wait=PCMKTIMEOUT rabbitmq-bundle; echo "rabbitmq-bundle restart invoked"; fi'