diff manifests/templates.pp @ 140:6eef7cec8658 puppet-3.6

Remove ClamAV from server config It uses too many resources and hasn't caught anything in months. Other Amavisd/SpamAssassin/Postgrey/etc checks must be blocking malware.
author IBBoard <dev@ibboard.co.uk>
date Sun, 15 Jan 2017 20:47:13 +0000
parents abaf384dc939
children ce6aafd0880b
line wrap: on
line diff
--- a/manifests/templates.pp	Mon Jan 09 21:06:10 2017 +0000
+++ b/manifests/templates.pp	Sun Jan 15 20:47:13 2017 +0000
@@ -642,7 +642,7 @@
 	class { 'dovecot':
 		imapserver => $imapserver,
 	}
-	package { [ 'amavisd-new', 'clamav', 'clamav-server-systemd', 'clamav-update' ]:
+	package { [ 'amavisd-new' ]:
 		ensure => installed,
 		tag => 'av',
 	}
@@ -650,16 +650,6 @@
 		ensure => 'running',
 		enable => 'true',
 	}
-	file { '/etc/freshclam.conf':
-		ensure => present,
-		source => 'puppet:///common/freshclam.conf',
-		tag => 'av',
-	}
-	file { '/etc/sysconfig/freshclam':
-		ensure => present,
-		source => 'puppet:///common/freshclam',
-		tag => 'av',
-	}
 	file { '/etc/amavisd/amavisd.conf':
 		ensure => present,
 		source => 'puppet:///private/postfix/amavisd.conf',