Merge "HA: ensure TRIPLEO_MINOR_UPDATE is defined for <svc>_restart_bundle"
This commit is contained in:
commit
469b977e23
@ -5,6 +5,7 @@ set -u
|
|||||||
# ./pacemaker_restart_bundle.sh galera-bundle galera
|
# ./pacemaker_restart_bundle.sh galera-bundle galera
|
||||||
RESOURCE=$1
|
RESOURCE=$1
|
||||||
TRIPLEO_SERVICE=$2
|
TRIPLEO_SERVICE=$2
|
||||||
|
: ${TRIPLEO_MINOR_UPDATE=false}
|
||||||
|
|
||||||
# try to restart only if resource has been created already
|
# try to restart only if resource has been created already
|
||||||
if /usr/sbin/pcs resource show $RESOURCE; then
|
if /usr/sbin/pcs resource show $RESOURCE; then
|
||||||
|
Loading…
Reference in New Issue
Block a user