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:
e221203
)
sensu: fix upgrade case when service is added
author
Emilien Macchi
<emilien@redhat.com>
Fri, 7 Apr 2017 15:54:48 +0000
(11:54 -0400)
committer
Emilien Macchi
<emilien@redhat.com>
Fri, 7 Apr 2017 15:54:48 +0000
(11:54 -0400)
When service is added during an upgrade, fix the ansible syntax
to use the right variable for return code.
Change-Id: I974699fb8b0dcbe5ffa6935c394df4ac8e7b21d4
puppet/services/monitoring/sensu-client.yaml
patch
|
blob
|
history
diff --git
a/puppet/services/monitoring/sensu-client.yaml
b/puppet/services/monitoring/sensu-client.yaml
index
aba2b1e
..
4b5f36a
100644
(file)
--- a/
puppet/services/monitoring/sensu-client.yaml
+++ b/
puppet/services/monitoring/sensu-client.yaml
@@
-81,4
+81,4
@@
outputs:
- name: Install sensu package if it was disabled
tags: step3
yum: name=sensu state=latest
- when: sensu_client.rc != 0
+ when: sensu_client
_enabled
.rc != 0