mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-10 04:50:34 +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',
|
|
}
|
|
|
|
}
|