From ea7261d766263af13b881d84390fbf1b217356c2 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 6 Jan 2009 22:29:53 +0000 Subject: merged with puzzle --- manifests/cron/linux.pp | 2 +- manifests/cron/openbsd.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'manifests/cron') diff --git a/manifests/cron/linux.pp b/manifests/cron/linux.pp index de831c7..be17498 100644 --- a/manifests/cron/linux.pp +++ b/manifests/cron/linux.pp @@ -7,6 +7,6 @@ class puppet::cron::linux inherits puppet::linux { File['/etc/cron.d/puppetd.cron']{ source => undef, content => "# run puppet -0,30 * * * * root /usr/sbin/puppetd --onetime --no-daemonize --splay true --config=$puppet_config\n", +0,30 * * * * root /usr/sbin/puppetd --onetime --no-daemonize --splay --config=$puppet_config --color false | grep -E '(^err:|^alert:|^emerg:|^crit:)'\n", } } diff --git a/manifests/cron/openbsd.pp b/manifests/cron/openbsd.pp index b095e3b..8337e22 100644 --- a/manifests/cron/openbsd.pp +++ b/manifests/cron/openbsd.pp @@ -14,7 +14,7 @@ class puppet::cron::openbsd inherits puppet::openbsd { } cron { 'puppetd_run': - command => "/usr/local/bin/puppetd --onetime --no-daemonize --splay true --config=$puppet_config", + command => "/usr/local/bin/puppetd --onetime --no-daemonize --splay --config=$puppet_config --color false | grep -E '(^err:|^alert:|^emerg:|^crit:)'", user => 'root', minute => [0,30], } -- cgit v1.2.3