1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-20 04:30:36 +00:00
puppet-fluentd/manifests/match.pp

15 lines
285 B
ObjectPascal
Raw Normal View History

2015-12-01 13:19:18 +00:00
# Configure a fluentd match
#
define fluentd::match (
$ensure = present,
$priority = 30,
$pattern = '',
$config = {},
) {
fluentd::config::file { "match-${title}":
ensure => $ensure,
priority => $priority,
content => template( 'fluentd/match.erb'),
}
}