Code Review
/
apex-tripleo-heat-templates.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7efa88b
)
Ignore systemctl return code in yum_update.sh
author
Lukas Bezdicka
<lbezdick@redhat.com>
Thu, 19 Jan 2017 13:17:25 +0000
(14:17 +0100)
committer
Lukas Bezdicka
<lbezdick@redhat.com>
Thu, 19 Jan 2017 13:17:25 +0000
(14:17 +0100)
We only need to know if pacemaker service is in active state.
Change-Id: Id5e16f2bbbe51b8a0c250eb5d35e89e61a7b3383
Resolves: rhbz#
1414779
Closes-Bug: #
1656980
extraconfig/tasks/yum_update.sh
patch
|
blob
|
history
diff --git
a/extraconfig/tasks/yum_update.sh
b/extraconfig/tasks/yum_update.sh
index
74af7b0
..
edcc9e8
100755
(executable)
--- a/
extraconfig/tasks/yum_update.sh
+++ b/
extraconfig/tasks/yum_update.sh
@@
-42,7
+42,7
@@
if [[ "$list_updates" == "" ]]; then
exit 0
fi
-pacemaker_status=$(systemctl is-active pacemaker)
+pacemaker_status=$(systemctl is-active pacemaker
|| :
)
# Fix the redis/rabbit resource start/stop timeouts. See https://bugs.launchpad.net/tripleo/+bug/1633455
# and https://bugs.launchpad.net/tripleo/+bug/1634851