Merge "HA: ensure TRIPLEO_MINOR_UPDATE is defined for <svc>_restart_bundle" into stable/train

This commit is contained in:
Zuul 2019-10-25 14:12:32 +00:00 committed by Gerrit Code Review
commit b8635c4618
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ set -u
# ./pacemaker_restart_bundle.sh galera-bundle galera
RESOURCE=$1
TRIPLEO_SERVICE=$2
: ${TRIPLEO_MINOR_UPDATE=false}
# try to restart only if resource has been created already
if /usr/sbin/pcs resource show $RESOURCE; then