diff options
author | mh <mh@immerda.ch> | 2013-08-05 12:29:36 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-08-05 12:29:36 +0200 |
commit | 98c84c83bdeec6ca245318497597be3c74633990 (patch) | |
tree | 483f646d384da17c0530e6d3fbcc3bb0559a4037 /manifests/master | |
parent | 21b0cc1f2633be37b11a78b255ae06983494a2a2 (diff) |
silence the lastrun output on only successfull runs
Diffstat (limited to 'manifests/master')
-rw-r--r-- | manifests/master/checklastrun.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/master/checklastrun.pp b/manifests/master/checklastrun.pp index b80bb56..5375cc0 100644 --- a/manifests/master/checklastrun.pp +++ b/manifests/master/checklastrun.pp @@ -18,7 +18,7 @@ class puppet::master::checklastrun { owner => root, group => 0, mode => 0700; '/etc/cron.d/puppetlast.cron': - content => "${puppet::master::lastruncheck_cron} root /usr/local/sbin/puppetlast ${puppet_lastruncheck_timeout_str} ${puppet_lastruncheck_ignorehosts_str} ${puppet::master::lastruncheck_additionaloptions}\n", + content => "${puppet::master::lastruncheck_cron} root /usr/local/sbin/puppetlast ${puppet_lastruncheck_timeout_str} ${puppet_lastruncheck_ignorehosts_str} ${puppet::master::lastruncheck_additionaloptions} | grep -Ev '^OK: '\n", require => File["/usr/local/sbin/puppetlast"], owner => root, group => 0, mode => 0644, } |