mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-14 14:00:36 +00:00
21 lines
421 B
Puppet
21 lines
421 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",
|
|
notify => Class['fluentd::service'],
|
|
}
|
|
|
|
file {'/etc/td-agent/conf.d':
|
|
ensure => 'directory',
|
|
owner => 'td-agent',
|
|
group => 'td-agent',
|
|
mode => '0750',
|
|
}
|
|
|
|
}
|