clamav: Allow all users to scan via clamd service on CentOS/RHEL 7.

This commit is contained in:
Timo Makinen 2016-02-24 15:07:43 +02:00
parent 59b471c16c
commit 990dd7e2c6

View file

@ -87,6 +87,15 @@ class clamav::daemon {
group => "root",
require => Package["clamd"],
}
file { "/etc/tmpfiles.d/clamd.scan.conf":
ensure => present,
content => "d /var/run/clamd.scan 0711 clamscan clamscan",
mode => "0644",
owner => "root",
group => "root",
require => Package[$package],
notify => Service[$service],
}
}
}
}