spamassassin: Fixed ClamAV module for CentOS/RHEL 7.

This commit is contained in:
Timo Makinen 2016-02-24 15:05:11 +02:00
parent 7c03ae1f0e
commit 59b471c16c
2 changed files with 3 additions and 1 deletions

View file

@ -130,7 +130,7 @@ class spamassassin::plugin::clamav {
file { "/etc/mail/spamassassin/clamav.cf":
ensure => present,
source => "puppet:///modules/spamassassin/clamav.cf",
content => template("spamassassin/clamav.cf.erb"),
mode => "0644",
owner => "root",
group => $::operatingsystem ? {

View file

@ -4,3 +4,5 @@ full CLAMAV eval:check_clamav()
score CLAMAV 5
add_header all Virus _CLAMAV_
clamav_socket <%= scope.lookupvar('clamav::daemon::socket') %>