1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-10 04:50:34 +00:00
puppet-fluentd/manifests/filter.pp
2015-12-01 14:18:37 +01:00

15 lines
289 B
Puppet

# 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'),
}
}