puppet-oslo/manifests/versionedobjects.pp
dmburmistrov 004b813cdb Refactor array values processing
We have different strategies in handling list
values. This patch is bringing the situation
to the consistent state in this question.
Arrays and csv-strings are allowed.
This allows to put this logic inside oslo module
and clean up code duplication in exterior modules
(which can just pass parameters to oslo).
Also patch bring a few updates to top-file docs
and tests.

Change-Id: I37a37d236e643d3cf39b46243119b8393a3feea7
2016-04-08 13:38:30 +03:00

19 lines
647 B
Puppet

# == Define: oslo::versionedobjects
#
# Configure oslo_versionedobjects options
#
# This resource configures oslo.versionedobjects resources for an OpenStack service.
# It will manage the [oslo_versionedobjects] section in the given config resource.
#
# === Parameters:
#
# [*fatal_exception_format_errors*]
# (Optional) Make exception message format errors fatal. (boolean value)
# Defaults to $::os_service_default.
#
define oslo::versionedobjects(
$fatal_exception_format_errors = $::os_service_default,
) {
create_resources($name, {'oslo_versionedobjects/fatal_exception_format_errors' => { value => $fatal_exception_format_errors }})
}