Puppet Function: icinga2::parse
- Defined in:
-
functions/parse.pp
- Function type:
- Puppet Language
Overview
icinga2::parse(Hash[String, Any] $attrs, Integer $indent = 0, Array[String] $reserved = [], Hash[String, Any] $constants = {}) ⇒ Any
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
|
# File 'functions/parse.pp', line 10
function icinga2::parse(
Hash[String, Any] $attrs,
Integer $indent = 0,
Array[String] $reserved = [],
Hash[String, Any] $constants = {},
) {
# @param attr
# Object attributes to parse.
#
# @param indent
# Indent to use.
#
# @param reserved
# A list of addational reserved words.
#
# @param constants
# A hash of additional constants.
#
icinga2::icinga2_attributes(
$attrs,
concat($icinga2::globals::reserved, $reserved),
$icinga2::_constants + $constants,
$indent
)
}
|