ca85542cc2
This is the initial commit for puppet-aodh. It has been automatically generated using cookiecutter[1] and msync[2] [1] https://github.com/openstack/puppet-openstack-cookiecutter [2] https://github.com/openstack/puppet-modulesync-configs Change-Id: I17611e8608931cf69b8d9891620e901a8936e19e
31 lines
761 B
Puppet
31 lines
761 B
Puppet
# == Class: aodh::config
|
|
#
|
|
# This class is used to manage arbitrary aodh configurations.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*aodh_config*]
|
|
# (optional) Allow configuration of arbitrary aodh configurations.
|
|
# The value is an hash of aodh_config resources. Example:
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
# In yaml format, Example:
|
|
# aodh_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 aodh::config (
|
|
$aodh_config = {},
|
|
) {
|
|
|
|
validate_hash($aodh_config)
|
|
|
|
create_resources('aodh_config', $aodh_config)
|
|
}
|