mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
20 lines
378 B
ObjectPascal
20 lines
378 B
ObjectPascal
|
# 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',
|
||
|
}
|
||
|
|
||
|
}
|