puppet-oslo/manifests/versionedobjects.pp
Takashi Kajinami 548d68cf35 Replace legacy facts and use fact hash
... because the latest lint no longer allows usage of legacy facts and
top scope fact.

Change-Id: Ib0bdb6329a438ac44886ee0494d0c52ad344a1bf
2023-03-02 12:37:35 +09:00

19 lines
661 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 $facts['os_service_default'].
#
define oslo::versionedobjects(
$fatal_exception_format_errors = $facts['os_service_default'],
) {
create_resources($name, {'oslo_versionedobjects/fatal_exception_format_errors' => { value => $fatal_exception_format_errors }})
}