Add ability to configure paste ini options using config class

It is needed in order to have possibility to add custom api options
  without direct usage of config providers in manifests.

Change-Id: I3e4a2ba175d6974ba4c4fb170aa663d15cb8467a
This commit is contained in:
Mykyta Karpin 2015-11-09 12:45:03 +02:00
parent 0fc92fc63e
commit 50b4bfd449
1 changed files with 6 additions and 0 deletions

View File

@ -17,14 +17,20 @@
# DEFAULT/bar:
# value: barValue
#
# [*keystone_paste_ini*]
# (optional) Allow configuration of /etc/keystone/keystone-paste.ini options.
#
# 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 = {},
$keystone_paste_ini = {},
) {
validate_hash($keystone_config)
validate_hash($keystone_paste_ini)
create_resources('keystone_config', $keystone_config)
create_resources('keystone_paste_ini', $keystone_paste_ini)
}