]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/clamav/manifests/init.pp
variable assignment does not clone string...
[dsa-puppet.git] / modules / clamav / manifests / init.pp
index 3484dcae69d217a47fd1d285c652c05013a42506..591d398b9e16018ec5aa9c109b642e7f29877ab7 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' ]