1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-10 04:50:34 +00:00
puppet-fluentd/manifests/config.pp

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