]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commit
Add support for configuring coordination/backend_url
authorChris Dent <chdent@redhat.com>
Thu, 13 Nov 2014 20:24:33 +0000 (20:24 +0000)
committerLukas Bezdicka <social@v3.sk>
Wed, 3 Dec 2014 10:45:25 +0000 (10:45 +0000)
commitee2f3cd4498b2ef3a6633991206b7185c1d32897
tree54fb70d7ea1376dc631451d1bde0950b0f2a2013
parent741e89ae5b59e6284d677dd1c3cdf4154902a378
Add support for configuring coordination/backend_url

If 'coordination_url' argument and value is provided to the central agent
or alarm evaluator classes, they will try to set 'backend_url' in the
'[coordination]' section of the ceilometer_config. This allows group
membership handling coordinated by tooz.

ensure_resource is used to avoid duplicate resources while still allowing
the central agent and alarm evaluator to be configured separately if
on different machines.

Note that this change does not include support for enabling coordination
of the compute agent.

Change-Id: I707a8b70ad742cc9f8fdc62c196d0e75574a50b2
(cherry picked from commit fade72deab0c52f7ea71b2891acb3785e1682a6b)
manifests/agent/central.pp
manifests/alarm/evaluator.pp
spec/classes/ceilometer_agent_central_spec.rb
spec/classes/ceilometer_alarm_evaluator_spec.rb