390cfd1f33
... because it is useless since ceilometer-api was removed. Change-Id: Ida2a8a9bb2b23105db83b6553bfa8b5c783ffc58
36 lines
871 B
Puppet
36 lines
871 B
Puppet
# == Class: ceilometer::config
|
|
#
|
|
# This class is used to manage arbitrary ceilometer configurations.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*ceilometer_config*]
|
|
# (optional) Allow configuration of ceilometer.conf.
|
|
#
|
|
# The value is an hash of ceilometer_config resource. Example:
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
#
|
|
# In yaml format, Example:
|
|
# ceilometer_config:
|
|
# DEFAULT/foo:
|
|
# value: fooValue
|
|
# DEFAULT/bar:
|
|
# value: barValue
|
|
#
|
|
# NOTE: The configuration MUST NOT be already handled by this module
|
|
# or Puppet catalog compilation will fail with duplicate resources.
|
|
#
|
|
class ceilometer::config (
|
|
$ceilometer_config = {},
|
|
) {
|
|
|
|
include ceilometer::deps
|
|
|
|
validate_legacy(Hash, 'validate_hash', $ceilometer_config)
|
|
|
|
create_resources('ceilometer_config', $ceilometer_config)
|
|
|
|
}
|