mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-12 21:50:34 +00:00
15 lines
289 B
ObjectPascal
15 lines
289 B
ObjectPascal
|
# Configure a fluentd filter
|
||
|
#
|
||
|
define fluentd::filter (
|
||
|
$ensure = present,
|
||
|
$priority = 20,
|
||
|
$pattern = '',
|
||
|
$config = {},
|
||
|
) {
|
||
|
fluentd::config::file { "filter-${title}":
|
||
|
ensure => $ensure,
|
||
|
priority => $priority,
|
||
|
content => template( 'fluentd/filter.erb'),
|
||
|
}
|
||
|
}
|