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

22 lines
535 B
ObjectPascal
Raw Normal View History

2015-12-09 15:04:28 +00:00
# Configure config files/directories
#
class fluentd::config inherits fluentd {
2015-12-07 10:09:31 +00:00
file { $::fluentd::config_file:
ensure => file,
owner => 'root',
group => 'root',
source => 'puppet:///modules/fluentd/td-agent.conf',
notify => Class['Fluentd::Service'],
}
2015-12-07 10:09:31 +00:00
file { $::fluentd::conf_dir:
ensure => 'directory',
2017-07-25 14:10:06 +00:00
recurse => $::fluentd::conf_dir_manage,
purge => $::fluentd::conf_dir_manage,
owner => $::fluentd::user_name,
group => $::fluentd::user_group,
mode => '0750',
}
}