File: versionedobjects.pp

package info (click to toggle)
puppet-module-oslo 27.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 992 kB
  • sloc: ruby: 2,436; python: 33; sh: 10; makefile: 10
file content (21 lines) | stat: -rw-r--r-- 701 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# == 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'],
) {
  $ovo_options = {
    'oslo_versionedobjects/fatal_exception_format_errors' => { value => $fatal_exception_format_errors },
  }
  create_resources($name, $ovo_options)
}