summaryrefslogtreecommitdiffstats
path: root/extraconfig
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-11-16 02:30:11 +0000
committerGerrit Code Review <review@openstack.org>2016-11-16 02:30:11 +0000
commitb7cfa7f7b872c4409424346f0b97bc96737e04f7 (patch)
treecf08610c8b45c84e8dc0598a3c586a13b8432317 /extraconfig
parent713a2e88c17fa6d1b110b2ad61fefc7050215126 (diff)
parentbb3c742e36ac86ed41a7705aec05adbaf62098f6 (diff)
Merge "Fix external Load Balancer deployment"
Diffstat (limited to 'extraconfig')
-rwxr-xr-xextraconfig/tasks/pacemaker_resource_restart.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/extraconfig/tasks/pacemaker_resource_restart.sh b/extraconfig/tasks/pacemaker_resource_restart.sh
index 8500bcef..49d39bc8 100755
--- a/extraconfig/tasks/pacemaker_resource_restart.sh
+++ b/extraconfig/tasks/pacemaker_resource_restart.sh
@@ -28,7 +28,6 @@ if [[ -d "$RESTART_FOLDER" && -n $(pcmk_running) && -n $(is_bootstrap_node) ]];
fi
-haproxy_status=$(systemctl is-active haproxy)
-if [ "$haproxy_status" = "active" ]; then
+if [ $(systemctl is-active haproxy) = "active" ]; then
systemctl reload haproxy
fi