X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fservices%2Fmonitoring%2Fsensu-client.yaml;h=d74a68a230c5fe00b16e9bd1cb5c01bf018ce04c;hb=fcda1872cf51df0325680edb6e7f2c9dcfaa3c2c;hp=76ba59c18e907d11f1855745adc3466500ac6005;hpb=4a02aeb22e8f6e27bf8c8ca84422fe9842b8738d;p=apex-tripleo-heat-templates.git diff --git a/puppet/services/monitoring/sensu-client.yaml b/puppet/services/monitoring/sensu-client.yaml index 76ba59c1..d74a68a2 100644 --- a/puppet/services/monitoring/sensu-client.yaml +++ b/puppet/services/monitoring/sensu-client.yaml @@ -62,3 +62,12 @@ outputs: region: {get_param: KeystoneRegion} step_config: | include ::tripleo::profile::base::monitoring::sensu + upgrade_tasks: + - name: Check status of sensu-client service + shell: > + /usr/bin/systemctl show sensu-client --property ActiveState | + grep '\bactive\b' + tags: step0,validation + - name: Stop sensu-client service + tags: step2 + service: name=sensu-client state=stopped