3 # Manage a clamav installation
13 'clamav-unofficial-sigs'
18 $extra_groups = $::mta ? {
19 'postfix' => 'amavis',
20 default => 'Debian-exim'
25 groups => [$extra_groups],
26 require => Package['clamav-daemon']
29 service { 'clamav-daemon':
31 require => Package['clamav-daemon']
34 service { 'clamav-freshclam':
36 require => Package['clamav-freshclam']
40 '/var/lib/clamav/mbl.ndb',
41 '/var/lib/clamav/MSRBL-Images.hdb',
42 '/var/lib/clamav/MSRBL-SPAM.ndb',
43 '/var/lib/clamav/msrbl-images.hdb',
44 '/var/lib/clamav/msrbl-spam.ndb',
47 notify => Service['clamav-daemon']
49 file { '/var/lib/clamav/.nobackup':
53 require => Package['clamav-daemon']
55 file { '/etc/clamav-unofficial-sigs.dsa.conf':
56 require => Package['clamav-unofficial-sigs'],
57 source => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.dsa.conf' ]
59 file { '/etc/clamav-unofficial-sigs.conf':
60 require => Package['clamav-unofficial-sigs'],
61 source => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.conf' ]
63 file { '/var/cache/clamav-unofficial-sigs/.nobackup':
67 require => Package['clamav-unofficial-sigs']