diff options
author | david <david@f03ff2f1-f02d-0410-970d-b9634babeaa1> | 2007-06-25 14:03:28 +0000 |
---|---|---|
committer | david <david@f03ff2f1-f02d-0410-970d-b9634babeaa1> | 2007-06-25 14:03:28 +0000 |
commit | 1f3cd8ebea24ce28c79ecf4b1efa9356117f9de2 (patch) | |
tree | 3efc1916fac0f5ecf5cc403982de00a454a2dc50 | |
parent | 7e5b55bde53f95e3f3ad21ac3551dca650899122 (diff) | |
download | puppet-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.pp | 2 |
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], } |