mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
21 lines
427 B
Puppet
21 lines
427 B
Puppet
# Configure package
|
|
#
|
|
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',
|
|
}
|
|
|
|
}
|