class fluentd::config inherits fluentd {
file { $::fluentd::config_file:
ensure => file,
owner => 'root',
group => 'root',
mode => '0644', <- to be added to allow service to read the file
source => 'puppet:///modules/fluentd/td-agent.conf',
notify => Class['Fluentd::Service'],
}
thanks