Enable collectd-ceph plugin only where needed

We need to ensure that ceph plugin is enabled only on relevant nodes,
otherwise it might bring whole collectd down (unlike other collectd plugins)

Change-Id: I36735dc6699e957ee8903ee5a8e9f642740ea5d3
This commit is contained in:
Martin Magr 2020-05-06 15:35:32 +02:00
parent 37a2f8b8cb
commit 0b13905447
2 changed files with 10 additions and 0 deletions

View File

@ -95,6 +95,11 @@ outputs:
- - '9100'
- []
upgrade_tasks: []
service_config_settings:
collectd:
tripleo.collectd.plugins.ceph_osd:
- ceph
collectd::plugin::ceph::daemons: []
puppet_config:
config_image: ''
config_volume: ''

View File

@ -83,6 +83,11 @@ outputs:
tags: validation
when: step|int == 0
shell: test "nil" == "$(hiera -c /etc/puppet/hiera.yaml ceph::profile::params::osds)"
service_config_settings:
collectd:
tripleo.collectd.plugins.ceph_osd:
- ceph
collectd::plugin::ceph::daemons: []
puppet_config:
config_image: ''
config_volume: ''