1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-13 21:50:34 +00:00
puppet-fluentd/manifests/config.pp
2017-07-25 16:10:06 +02:00

22 lines
535 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',
recurse => $::fluentd::conf_dir_manage,
purge => $::fluentd::conf_dir_manage,
owner => $::fluentd::user_name,
group => $::fluentd::user_group,
mode => '0750',
}
}