From b7ca00eb83a0bfb21250a898c2a594756c3eb1a6 Mon Sep 17 00:00:00 2001
From: David Schmitt <david@schmitt.edv-bus.at>
Date: Tue, 2 Jun 2009 14:16:38 +0200
Subject: always run concatenate command

Now that this doesn't case unnecessary updates in the system, running the
concatenation every time imrpoves robustness in the face of state damages and
other non-notifying content changes.

Also, tone down the exec to info level to keep the log clean.
---
 manifests/defines/concatenated_file.pp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/manifests/defines/concatenated_file.pp b/manifests/defines/concatenated_file.pp
index 3741eea..c7e1f21 100644
--- a/manifests/defines/concatenated_file.pp
+++ b/manifests/defines/concatenated_file.pp
@@ -90,10 +90,10 @@ define concatenated_file (
 	# use >| to force clobbering the target file
 	exec { "concat_${name}":
 		command => "/usr/bin/find ${dir_real} -maxdepth 1 -type f ! -name '*puppettmp' -print0 | sort -z | xargs -0 cat ${additional_cmd} >| ${tmp_file}",
-		refreshonly => true,
 		subscribe => [ File[$dir_real] ],
 		before => File[$tmp_file],
-		alias => [ "concat_${dir_real}"] ,
+		alias => [ "concat_${dir_real}"],
+		loglevel => info
 	}
 
 }
-- 
cgit v1.2.3