summaryrefslogtreecommitdiffstats
path: root/extraconfig/tasks
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-05-04 10:01:28 +0000
committerGerrit Code Review <review@openstack.org>2016-05-04 10:01:28 +0000
commit1bbf7a27e3fff594b68a8d9fce94ff07a5611d01 (patch)
treee2f0bcce1741e6112ea62caf39b4ea56a7e3f3a1 /extraconfig/tasks
parentecb86f35ba971bdaa48e821a91e71a20a95b0691 (diff)
parentaa0bd9eb1b16581f258f0fe1a4e7331df67c1c85 (diff)
Merge "Fix distinguishing between stack-create and stack-update"
Diffstat (limited to 'extraconfig/tasks')
-rwxr-xr-xextraconfig/tasks/pacemaker_resource_restart.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/extraconfig/tasks/pacemaker_resource_restart.sh b/extraconfig/tasks/pacemaker_resource_restart.sh
index d9d00554..b2e5be16 100755
--- a/extraconfig/tasks/pacemaker_resource_restart.sh
+++ b/extraconfig/tasks/pacemaker_resource_restart.sh
@@ -8,7 +8,7 @@ pacemaker_status=$(systemctl is-active pacemaker)
# and we're updating the deployment (not creating).
if [ "$pacemaker_status" = "active" -a \
"$(hiera bootstrap_nodeid)" = "$(facter hostname)" -a \
- "$(hiera update_identifier)" != "nil" ]; then
+ "$(hiera stack_action)" = "UPDATE" ]; then
#ensure neutron constraints like
#https://review.openstack.org/#/c/245093/