diff options
author | David Schmitt <david@schmitt.edv-bus.at> | 2009-06-02 14:16:38 +0200 |
---|---|---|
committer | David Schmitt <david@schmitt.edv-bus.at> | 2009-06-02 14:16:38 +0200 |
commit | b7ca00eb83a0bfb21250a898c2a594756c3eb1a6 (patch) | |
tree | 4da14a2161e2e46ff933f7f2a254061a8dd13efe /manifests/defines | |
parent | 53d0fde15feb30777a6929cada73d5f6e6ceb513 (diff) | |
download | puppet-common-b7ca00eb83a0bfb21250a898c2a594756c3eb1a6.tar.gz puppet-common-b7ca00eb83a0bfb21250a898c2a594756c3eb1a6.tar.bz2 |
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.
Diffstat (limited to 'manifests/defines')
-rw-r--r-- | manifests/defines/concatenated_file.pp | 4 |
1 files 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 } } |