changeset 125:ca711ab45f17 puppet-3.6

Schedule Postwhite to run regularly
author IBBoard <dev@ibboard.co.uk>
date Tue, 13 Sep 2016 20:53:16 +0100
parents db809398167a
children 8316d4e55e92
files manifests/templates.pp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Tue Sep 13 20:27:22 2016 +0100
+++ b/manifests/templates.pp	Tue Sep 13 20:53:16 2016 +0100
@@ -649,6 +649,11 @@
 	File<| tag == 'av' |> {
 		notify => Service['amavisd'],
 	}
+	cron { 'Postwhite':
+		command => "/usr/local/bin/postwhite",
+		user => 'root',
+		weekday => 0,
+	}
 }
 
 class cronjobs {