changeset 129:16a931df5fd7 puppet-3.6

Filter what we see in Postwhite cron output
author IBBoard <dev@ibboard.co.uk>
date Sun, 02 Oct 2016 19:33:22 +0100
parents 379089631403
children eb32a4978a7c
files manifests/templates.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sun Sep 18 07:22:22 2016 +0100
+++ b/manifests/templates.pp	Sun Oct 02 19:33:22 2016 +0100
@@ -653,7 +653,7 @@
 		notify => Service['amavisd'],
 	}
 	cron { 'Postwhite':
-		command => "/usr/local/bin/postwhite",
+		command => "/usr/local/bin/postwhite 2>&1| grep -vE '^(Starting|Recursively|Getting|Querying|Removing|Sorting|$)'",
 		user => 'root',
 		weekday => 0,
 		hour => 2,