mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
20 lines
443 B
Puppet
20 lines
443 B
Puppet
# Configure config files/directories
|
|
#
|
|
class fluentd::config inherits fluentd {
|
|
|
|
file { $::fluentd::config_file:
|
|
ensure => file,
|
|
owner => 'root',
|
|
group => 'root',
|
|
source => 'puppet:///modules/fluentd/td-agent.conf',
|
|
notify => Class['Fluentd::Service'],
|
|
}
|
|
|
|
file { $::fluentd::conf_dir:
|
|
ensure => 'directory',
|
|
owner => $::fluentd::user_name,
|
|
group => $::fluentd::user_group,
|
|
mode => '0750',
|
|
}
|
|
}
|