X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=puppet%2Fservices%2Fmetrics%2Fcollectd.yaml;h=a3e3b8427184a4fee7c61a2c412a699a23d7981e;hb=6e05804f037bc69393f038d8bd7e9cd8cf1cdf63;hp=e4e7dac72877ed3c58225e78aae67933931f193f;hpb=f190469c01156237cbadf75981bc789b8d2cf0e1;p=apex-tripleo-heat-templates.git diff --git a/puppet/services/metrics/collectd.yaml b/puppet/services/metrics/collectd.yaml index e4e7dac7..a3e3b842 100644 --- a/puppet/services/metrics/collectd.yaml +++ b/puppet/services/metrics/collectd.yaml @@ -109,3 +109,12 @@ outputs: .flatten().distinct() step_config: | include ::tripleo::profile::base::metrics::collectd + upgrade_tasks: + - name: Check status of collectd service + shell: > + /usr/bin/systemctl show collectd --property ActiveState | + grep '\bactive\b' + tags: step0,validation + - name: Stop collectd service + tags: step2 + service: name=collectd state=stopped