changeset 86:4f59d2fcd521 puppet-3.6

Make sure that Amavis daemon is running so mail gets delivered after reboot!
author IBBoard <dev@ibboard.co.uk>
date Sun, 03 Jan 2016 20:13:19 +0000
parents 50dd78dbf3db
children 6be21a984126
files manifests/templates.pp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sat Dec 26 20:26:22 2015 +0000
+++ b/manifests/templates.pp	Sun Jan 03 20:13:19 2016 +0000
@@ -570,6 +570,10 @@
 		ensure => installed,
 		tag => 'av',
 	}
+	service { 'amavisd':
+		ensure => 'running',
+		enable => 'true',
+	}
 	file { '/etc/freshclam.conf':
 		ensure => present,
 		source => 'puppet:///common/freshclam.conf',