Files
puppet-ceilometer/manifests/coordination.pp
Takashi Kajinami 1ebfb2c40e Prepare for new lint plugins
This fixes a few lint warnings/errors detected by the following plugins
we aim to enable soon.
 - puppet-lint-file_ensure-check
 - puppet-lint-trailing_comma-check
 - puppet-lint-topscope-variable-check

Change-Id: I3ec372b6771012ea3b50521f142e5c3411694dca
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-15 20:01:34 +09:00

25 lines
615 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']
}