From 1f3cd8ebea24ce28c79ecf4b1efa9356117f9de2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 25 Jun 2007 14:03:28 +0000 Subject: create a stable result by sorting filenames git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@63 f03ff2f1-f02d-0410-970d-b9634babeaa1 --- manifests/defines/concatenated_file.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/defines/concatenated_file.pp b/manifests/defines/concatenated_file.pp index f5e5eef..1cfa4fb 100644 --- a/manifests/defines/concatenated_file.pp +++ b/manifests/defines/concatenated_file.pp @@ -18,7 +18,7 @@ define concatenated_file ( $dir, $mode = 0644, $owner = root, $group = root ) { mode => $mode, owner => $owner, group => $group; } - exec { "find ${dir} -maxdepth 1 -type f ! -name '*puppettmp' -print0 | xargs -0 cat > ${name}": + exec { "find ${dir} -maxdepth 1 -type f ! -name '*puppettmp' -print0 | sort -z | xargs -0 cat > ${name}": refreshonly => true, subscribe => File[$dir], } -- cgit v1.2.3