diff manifests/templates.pp @ 142:dae1088dd218 puppet-3.6

Add OLE detection to SpamAssassin without ClamAV Note: currently subject to https://github.com/JonathanThorpe/spamassassin-vba-macro/issues/15
author IBBoard <dev@ibboard.co.uk>
date Thu, 09 Feb 2017 20:54:30 +0000
parents ce6aafd0880b
children 88f38ef7359f
line wrap: on
line diff
--- a/manifests/templates.pp	Wed Jan 18 21:13:20 2017 +0000
+++ b/manifests/templates.pp	Thu Feb 09 20:54:30 2017 +0000
@@ -656,6 +656,16 @@
 		source => 'puppet:///private/postfix/amavisd.conf',
 		tag => 'av',
 	}
+	file { '/etc/mail/spamassassin/ole2macro.cf':
+		ensure => present,
+		source => 'puppet:///common/ole2macro.cf',
+		tag => 'av',
+	}
+	file { '/etc/mail/spamassassin/ole2macro.pm':
+		ensure => present,
+		source => 'puppet:///common/spamassassin-vba-macro-master/ole2macro.pm',
+		tag => 'av',
+	}
 	Package<| tag == 'av' |> -> File<| tag == 'av' |>
 	File<| tag == 'av' |> {
 		notify => Service['amavisd'],