added imfiles parameter. a hash to be used with hiera to create imfiles
This commit is contained in:
Родитель
0aca4fa5d8
Коммит
b1e1632a21
|
@ -55,7 +55,8 @@ class rsyslog::client (
|
|||
$actionfiletemplate = false,
|
||||
$high_precision_timestamps = false,
|
||||
$rate_limit_burst = undef,
|
||||
$rate_limit_interval = undef
|
||||
$rate_limit_interval = undef,
|
||||
$imfiles = undef
|
||||
) inherits rsyslog {
|
||||
|
||||
if $custom_config {
|
||||
|
@ -120,4 +121,8 @@ class rsyslog::client (
|
|||
fail("You need to set auth_mode to 'x509/name' in order to use ssl_permitted_peers.")
|
||||
}
|
||||
|
||||
if $imfiles {
|
||||
create_resources(rsyslog::imfile, $imfiles)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче