Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git] / modules / clamav / manifests / init.pp
index 3484dca..2126e8e 100644 (file)
@@ -1,3 +1,11 @@
+# = Class: clamav
+#
+# Manage a clamav installation
+#
+# == Sample Usage:
+#
+#   include clamav
+#
 class clamav {
        package { [
                        'clamav-daemon',
@@ -38,6 +46,12 @@ class clamav {
                ensure => absent,
                notify => Service['clamav-daemon']
        }
+       file { '/var/lib/clamav/.nobackup':
+               owner   => clamav,
+               mode    => '0644',
+               content => '',
+               require => Package['clamav-daemon']
+       }
        file { '/etc/clamav-unofficial-sigs.dsa.conf':
                require => Package['clamav-unofficial-sigs'],
                source  => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.dsa.conf' ]
@@ -46,5 +60,11 @@ class clamav {
                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']
+       }
 
 }