Code Review
/
apex-tripleo-heat-templates.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Add support for Cinder "NAS secure" driver params"
[apex-tripleo-heat-templates.git]
/
extraconfig
/
tasks
/
pacemaker_resource_restart.sh
diff --git
a/extraconfig/tasks/pacemaker_resource_restart.sh
b/extraconfig/tasks/pacemaker_resource_restart.sh
index
8500bce
..
49d39bc
100755
(executable)
--- 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
fi
-haproxy_status=$(systemctl is-active haproxy)
-if [ "$haproxy_status" = "active" ]; then
+if [ $(systemctl is-active haproxy) = "active" ]; then
systemctl reload haproxy
fi
systemctl reload haproxy
fi