1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# == Class: murano::config
#
# This class is used to manage arbitrary murano configurations.
#
# === Parameters
#
# [*murano_config*]
# (optional) Allow configuration of arbitrary murano configurations.
# The value is an hash of murano_config resources. Example:
# { 'DEFAULT/foo' => { value => 'fooValue'},
# 'DEFAULT/bar' => { value => 'barValue'}
# }
# In yaml format, Example:
# murano_config:
# DEFAULT/foo:
# value: fooValue
# DEFAULT/bar:
# value: barValue
#
# [*murano_cfapi_config*]
# (optional) Allow configuration of CFAPI Murano service
#
# [*murano_paste_config*]
# (optional) Allow configuration of arbitrary murano paste configurations.
#
# [*murano_cfapi_paste_config*]
# (optional) Allow configuration of CFAPI Murano paste configurations.
#
# NOTE: The configuration MUST NOT be already handled by this module
# or Puppet catalog compilation will fail with duplicate resources.
#
class murano::config (
Hash $murano_config = {},
Hash $murano_cfapi_config = {},
Hash $murano_paste_config = {},
Hash $murano_cfapi_paste_config = {}
) {
include murano::deps
create_resources('murano_config', $murano_config)
create_resources('murano_cfapi_config', $murano_cfapi_config)
create_resources('murano_paste_ini_config', $murano_paste_config)
create_resources('murano_cfapi_paste_ini_config', $murano_cfapi_paste_config)
}
|