mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
86c5e91781
This reverts commit 51b5f0f640
.
This is needed to make sure the puppet autoloader can load the class while running tests.
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',
|
|
}
|
|
|
|
}
|