Merge "Allow arbitrary settings of api-paste.ini"

This commit is contained in:
Zuul 2021-12-08 02:22:46 +00:00 committed by Gerrit Code Review
commit 011bbf3442
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.