fa11274b2f
Change-Id: Ia631adf31be1eeadb7ab0f12b75f1eaed73d5fbf
33 lines
856 B
Puppet
33 lines
856 B
Puppet
# == Class: keystone::config
|
|
#
|
|
# This class is used to manage arbitrary keystone configurations.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*keystone_config*]
|
|
# (optional) Allow configuration of arbitrary keystone configurations.
|
|
# The value is an hash of keystone_config resources. Example:
|
|
# { 'DEFAULT/foo' => { value => 'fooValue'},
|
|
# 'DEFAULT/bar' => { value => 'barValue'}
|
|
# }
|
|
# In yaml format, Example:
|
|
# keystone_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 keystone::config (
|
|
$keystone_config = {},
|
|
) {
|
|
|
|
include keystone::deps
|
|
|
|
validate_legacy(Hash, 'validate_hash', $keystone_config)
|
|
|
|
create_resources('keystone_config', $keystone_config)
|
|
}
|