Merge "HA minor update: fix bad pcs invocation"
This commit is contained in:
commit
8b0dd8ad78
|
@ -82,7 +82,7 @@ else
|
||||||
# already running elsewhere.
|
# already running elsewhere.
|
||||||
echo "$(date -u): ${BUNDLE_NAME} is currently not running on '${HOST}'," \
|
echo "$(date -u): ${BUNDLE_NAME} is currently not running on '${HOST}'," \
|
||||||
"cleaning up its state to restart it if necessary"
|
"cleaning up its state to restart it if necessary"
|
||||||
/sbin/pcs resource cleanup $BUNDLE_NAME --node "${HOST}"
|
/sbin/pcs resource cleanup $BUNDLE_NAME node="${HOST}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Wait until the resource is in the expected target state
|
# Wait until the resource is in the expected target state
|
||||||
|
|
Loading…
Reference in New Issue