mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-09-11 16:19:29 +00:00
Merge branch 'master' of https://github.com/cotocisternas/puppet-fluentd
Conflicts: manifests/init.pp manifests/params.pp manifests/repo/apt.pp
This commit is contained in:
@@ -17,8 +17,10 @@ define fluentd::config::file (
|
||||
|
||||
# clean up to ensure priority changes take effect
|
||||
exec { "apply priority change for ${base_name}":
|
||||
command => "rm ${::fluentd::conf_dir}/*-${base_name}",
|
||||
onlyif => "ls ${::fluentd::conf_dir}/*-${base_name} | grep -v ${config_name}",
|
||||
path => '/bin:/usr/bin:/usr/local/bin',
|
||||
cwd => "${::fluentd::conf_dir}",
|
||||
command => "rm *-${base_name}",
|
||||
onlyif => "ls *-${base_name} | grep -v ${config_name}",
|
||||
before => File[$config_path],
|
||||
notify => Class['Fluentd::Service'],
|
||||
}
|
||||
|
Reference in New Issue
Block a user