1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-09-19 20:20:35 +00:00
puppet-fluentd/manifests/config.pp
Max Wilhelm adb39eabf0 added fluentd::config
this class overwrites the installation default 'td-agent.conf' with and include of the created '/etc/td-agent/conf.d' directory. All sources, matches and filters will be placed as single files in '/etc/td-agent/conf.d'.
2015-11-30 17:17:54 +01:00

20 lines
378 B
Puppet

# Configure package
#
class fluentd::config inherits fluentd {
file { '/etc/td-agent/td-agent.conf' :
ensure => file,
owner => 'root',
group => 'root',
source => "puppet:///modules/fluentd/td-agent.conf"
}
file {'/etc/td-agent/conf.d':
ensure => 'directory',
owner => 'td-agent',
group => 'td-agent',
mode => '0750',
}
}