aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-06-25 14:03:28 +0000
committerdavid <david@f03ff2f1-f02d-0410-970d-b9634babeaa1>2007-06-25 14:03:28 +0000
commit1f3cd8ebea24ce28c79ecf4b1efa9356117f9de2 (patch)
tree3efc1916fac0f5ecf5cc403982de00a454a2dc50
parent7e5b55bde53f95e3f3ad21ac3551dca650899122 (diff)
downloadpuppet-common-1f3cd8ebea24ce28c79ecf4b1efa9356117f9de2.tar.gz
puppet-common-1f3cd8ebea24ce28c79ecf4b1efa9356117f9de2.tar.bz2
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
-rw-r--r--manifests/defines/concatenated_file.pp2
1 files changed, 1 insertions, 1 deletions
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],
}