Puppet Function: rsyslog::global_entry
- Defined in:
- modules/rsyslog/functions/global_entry.pp
- Function type:
- Puppet Language
Overview
SPDX-License-Identifier: Apache-2.0 Add a global config option to rsyslog
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'modules/rsyslog/functions/global_entry.pp', line 5
function rsyslog::global_entry(
String[1] $key,
String[1] $value,
) >> Type[Concat::Fragment] {
$concat_rsc = concat::fragment { "${rsyslog::rsyslog_global_conf}-${key}":
target => $rsyslog::rsyslog_global_conf,
order => $key,
content => epp(
'rsyslog/global_entry.epp',
{
'key' => $key,
'value' => $value,
}
),
}
$concat_rsc[0]
}
|