+# = Class: clamav
+#
+# Manage a clamav installation
+#
+# == Sample Usage:
+#
+# include clamav
+#
class clamav {
package { [
'clamav-daemon',
notify => Service['clamav-daemon']
}
file { '/var/lib/clamav/.nobackup':
+ owner => clamav,
+ mode => '0644',
content => '',
- require => Package['clamav-base']
+ require => Package['clamav-daemon']
}
file { '/etc/clamav-unofficial-sigs.dsa.conf':
require => Package['clamav-unofficial-sigs'],
require => Package['clamav-unofficial-sigs'],
source => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.conf' ]
}
+ file { '/var/cache/clamav-unofficial-sigs/.nobackup':
+ owner => clamav,
+ mode => '0644',
+ content => '',
+ require => Package['clamav-unofficial-sigs']
+ }
}