Allow arbitrary settings of api-paste.ini

Change-Id: I6bc6f2c5ea3ba445f68d96f6c64847f39c8d2725
This commit is contained in:
Takashi Kajinami 2021-11-29 12:57:34 +09:00
parent 5a3035d9eb
commit 34d63f505a
2 changed files with 11 additions and 0 deletions

View File

@ -17,16 +17,22 @@
# DEFAULT/bar:
# value: barValue
#
# [*gnocchi_api_paste_ini*]
# (optional) Allow configuration of /etc/gnocchi/api-paste.ini options.
#
# NOTE: The configuration MUST NOT be already handled by this module
# or Puppet catalog compilation will fail with duplicate resources.
#
class gnocchi::config (
$gnocchi_config = {},
$gnocchi_api_paste_ini = {},
) {
include gnocchi::deps
validate_legacy(Hash, 'validate_hash', $gnocchi_config)
validate_legacy(Hash, 'validate_hash', $gnocchi_api_paste_ini)
create_resources('gnocchi_config', $gnocchi_config)
create_resources('gnocchi_api_paste_ini', $gnocchi_api_paste_ini)
}

View File

@ -0,0 +1,5 @@
---
features:
- |
The new ``gnocchi::config::gnocchi_api_paste_ini`` parameter has been
added.