]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Add support to customize polling meters
authorTobias Urdin <tobias@busybox.se>
Mon, 23 Jul 2018 20:21:21 +0000 (22:21 +0200)
committerTobias Urdin <tobias@busybox.se>
Thu, 26 Jul 2018 13:37:12 +0000 (15:37 +0200)
commit753c8c2cd80da39daa438391683ad59c568e8c03
tree118d99e4866fae69f9e6dc2397cba0e3a22b2b35
parentd522c8926adb392d3c0890e7bb2e85580ef68178
Add support to customize polling meters

This adds a new parameter called polling_meters
to the ceilometer::agent::polling class.

If you pass a array of strings this parameter
will then populate the meters in the polling.yaml
file by inserting them in the templated polling file.

The default values that was hardcoded in the template
is still the same but has been moved to the params class
as an array of strings.

Change-Id: Iae2567b5a0f24b2aa80f9640ff10df96cd656922
(cherry picked from commit f236f531df8f342c475973620e3f3913399dc2c0)
manifests/agent/polling.pp
manifests/params.pp
releasenotes/notes/manage-polling-meters-e28386cd03c9d80d.yaml [new file with mode: 0644]
spec/classes/ceilometer_agent_polling_spec.rb
templates/polling.yaml.erb