salsa: more mail setup
[mirror/dsa-puppet.git] / modules / clamav / manifests / init.pp
index 61234ab..591d398 100644 (file)
@@ -1,3 +1,11 @@
+# = Class: clamav
+#
+# Manage a clamav installation
+#
+# == Sample Usage:
+#
+#   include clamav
+#
 class clamav {
        package { [
                        'clamav-daemon',
@@ -39,8 +47,10 @@ class clamav {
                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'],