1155b41db0
This change replaces current implementation about coordination parameters by oslo::coordination resource type, so that we can gather all logics related to coordination in a single place. Depends-on: https://review.opendev.org/791628 Change-Id: I5e0af169ccdb2f4c56318dbc0198f480ab4b15fa
23 lines
501 B
Puppet
23 lines
501 B
Puppet
# == Class: ceilometer::coordination
|
|
#
|
|
# Setup and configure Ceilometer coordination settings.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*backend_url*]
|
|
# (Optional) Coordination backend URL.
|
|
# Defaults to $::os_service_default
|
|
#
|
|
class ceilometer::coordination (
|
|
$backend_url = $::os_service_default,
|
|
) {
|
|
|
|
include ceilometer::deps
|
|
|
|
$backend_url_real = pick($::ceilometer::agent::polling::coordination_url, $backend_url)
|
|
|
|
oslo::coordination{ 'ceilometer_config':
|
|
backend_url => $backend_url_real
|
|
}
|
|
}
|