1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2025-09-08 15:19:30 +00:00

parameterized config path, dir, file and user/group

This commit is contained in:
Max Wilhelm
2015-12-04 14:20:11 +01:00
parent 43cfae7797
commit 9d2175411b
5 changed files with 22 additions and 11 deletions

View File

@@ -9,10 +9,10 @@ define fluentd::plugin::file (
fail("Use of private fluentd::plugin::file by ${caller_module_name}")
}
file { "/etc/td-agent/plugin/${name}":
file { "${::fluentd::config_path}/plugin/${name}":
ensure => $ensure,
owner => 'td-agent',
group => 'td-agent',
owner => $::fluentd::user_name,
group => $::fluentd::user_group,
mode => '0640',
source => $source,
notify => Class['Fluentd::Service']