]> 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)
committerChris Dent <chdent@redhat.com>
Fri, 14 Nov 2014 12:40:13 +0000 (12:40 +0000)
commitfade72deab0c52f7ea71b2891acb3785e1682a6b
tree4971d8bbf31b15d2ed8adac7076db90874d97775
parent1d78470e5023e2ca6adef47c904d14d046dd87d1
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
manifests/agent/central.pp
manifests/alarm/evaluator.pp
spec/classes/ceilometer_agent_central_spec.rb
spec/classes/ceilometer_alarm_evaluator_spec.rb