X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=puppet%2Fservices%2Fmonitoring%2Fsensu-client.yaml;h=d74a68a230c5fe00b16e9bd1cb5c01bf018ce04c;hb=fe4311207f3ba382a4d647c933c9d4edd833dfd1;hp=76ba59c18e907d11f1855745adc3466500ac6005;hpb=71102bcc369b5f45a0960073954ad3ca835f62e7;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