summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-04-07 11:54:48 -0400
committerEmilien Macchi <emilien@redhat.com>2017-04-07 11:54:48 -0400
commitdeb9b4cad5a59e650922067841604a4bc121c228 (patch)
tree969933957cb99b04cb5a1f950e9293312e252840
parente221203da48c329147894923272d335560848fc2 (diff)
sensu: fix upgrade case when service is added
When service is added during an upgrade, fix the ansible syntax to use the right variable for return code. Change-Id: I974699fb8b0dcbe5ffa6935c394df4ac8e7b21d4
-rw-r--r--puppet/services/monitoring/sensu-client.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/services/monitoring/sensu-client.yaml b/puppet/services/monitoring/sensu-client.yaml
index aba2b1ed..4b5f36ac 100644
--- 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