summaryrefslogtreecommitdiff
path: root/manifests/master/checklastrun.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/master/checklastrun.pp')
-rw-r--r--manifests/master/checklastrun.pp2
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,
}