100c40e24e
... to avoid unnecessary cross-service dependencies. Change-Id: I428d52219c72cf48fdc3eb034d44092137608245
25 lines
614 B
Puppet
25 lines
614 B
Puppet
# == Class: ceilometer::coordination
|
|
#
|
|
# Setup and configure Ceilometer coordination settings.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*backend_url*]
|
|
# (Optional) Coordination backend URL.
|
|
# Defaults to $facts['os_service_default']
|
|
#
|
|
class ceilometer::coordination (
|
|
$backend_url = $facts['os_service_default'],
|
|
) {
|
|
|
|
include ceilometer::deps
|
|
|
|
oslo::coordination{ 'ceilometer_config':
|
|
backend_url => $backend_url
|
|
}
|
|
|
|
# all coordination settings should be applied and all packages should be
|
|
# installed before service startup
|
|
Oslo::Coordination['ceilometer_config'] -> Anchor['ceilometer::service::begin']
|
|
}
|