mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-09-20 04:30:36 +00:00
15 lines
285 B
ObjectPascal
15 lines
285 B
ObjectPascal
|
# 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'),
|
||
|
}
|
||
|
}
|