puppet-ceilometer/manifests/coordination.pp
Takashi Kajinami 100c40e24e Refactor resource dependencies
... to avoid unnecessary cross-service dependencies.

Change-Id: I428d52219c72cf48fdc3eb034d44092137608245
2024-03-01 12:23:35 +09:00

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']
}