spamassassin: Fixed ClamAV module for CentOS/RHEL 7.
This commit is contained in:
parent
7c03ae1f0e
commit
59b471c16c
2 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,7 @@ class spamassassin::plugin::clamav {
|
||||||
|
|
||||||
file { "/etc/mail/spamassassin/clamav.cf":
|
file { "/etc/mail/spamassassin/clamav.cf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
source => "puppet:///modules/spamassassin/clamav.cf",
|
content => template("spamassassin/clamav.cf.erb"),
|
||||||
mode => "0644",
|
mode => "0644",
|
||||||
owner => "root",
|
owner => "root",
|
||||||
group => $::operatingsystem ? {
|
group => $::operatingsystem ? {
|
||||||
|
|
|
@ -4,3 +4,5 @@ full CLAMAV eval:check_clamav()
|
||||||
score CLAMAV 5
|
score CLAMAV 5
|
||||||
|
|
||||||
add_header all Virus _CLAMAV_
|
add_header all Virus _CLAMAV_
|
||||||
|
|
||||||
|
clamav_socket <%= scope.lookupvar('clamav::daemon::socket') %>
|
Loading…
Add table
Reference in a new issue