diff --git a/manifests/config/file.pp b/manifests/config/file.pp index 97328b4..36fa65b 100644 --- a/manifests/config/file.pp +++ b/manifests/config/file.pp @@ -18,7 +18,7 @@ define fluentd::config::file ( # clean up to ensure priority changes take effect exec { "apply priority change for ${base_name}": path => '/bin:/usr/bin:/usr/local/bin', - cwd => "${::fluentd::conf_dir}", + cwd => $::fluentd::conf_dir, command => "rm *-${base_name}", onlyif => "ls *-${base_name} | grep -v ${config_name}", before => File[$config_path],