Files
puppet-cloudkitty/manifests/config.pp
Takashi Kajinami 2b9ebd90a3 Prepare for voxpupuli-puppet-lint-plugins
Fix new lint errors detected when full of the voxpupili lint plugins
are enabled.

Change-Id: I3c303e2ef3ec45059b295b02d6ec84e006edf724
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-08-20 00:35:42 +09:00

35 lines
1.0 KiB
Puppet

# == Class: cloudkitty::config
#
# This class is used to manage arbitrary cloudkitty configurations.
#
# === Parameters
#
# [*cloudkitty_config*]
# (optional) Allow configuration of arbitrary cloudkitty configurations.
# The value is an hash of cloudkitty_config resources. Example:
# { 'DEFAULT/foo' => { value => 'fooValue'},
# 'DEFAULT/bar' => { value => 'barValue'}
# }
# In yaml format, Example:
# cloudkitty_config:
# DEFAULT/foo:
# value: fooValue
# DEFAULT/bar:
# value: barValue
#
# [*cloudkitty_api_paste_ini*]
# (optional) Allow configuration of /etc/cloudkitty/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 cloudkitty::config (
Hash $cloudkitty_config = {},
Hash $cloudkitty_api_paste_ini = {},
) {
include cloudkitty::deps
create_resources('cloudkitty_config', $cloudkitty_config)
create_resources('cloudkitty_api_paste_ini', $cloudkitty_api_paste_ini)
}