]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Manage clamav-unofficial-sigs. The dsa.conf removes all dbs marked as
authorStephen Gran <steve@lobefin.net>
Wed, 15 Jul 2009 11:58:32 +0000 (12:58 +0100)
committerStephen Gran <steve@lobefin.net>
Wed, 15 Jul 2009 11:58:32 +0000 (12:58 +0100)
high risk of false positives
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/clamav/files/clamav-unofficial-sigs.conf [new file with mode: 0644]
modules/clamav/files/clamav-unofficial-sigs.dsa.conf [new file with mode: 0644]
modules/clamav/manifests/init.pp

diff --git a/modules/clamav/files/clamav-unofficial-sigs.conf b/modules/clamav/files/clamav-unofficial-sigs.conf
new file mode 100644 (file)
index 0000000..17f4919
--- /dev/null
@@ -0,0 +1,13 @@
+##
+## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
+## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
+##
+
+# Source all the configuration files from upstream, Debian and elsewhere
+for f in /usr/share/clamav-unofficial-sigs/conf.d/*.conf ; do
+        if [ -s "$f" ] ; then
+                . $f
+        fi
+done
+
+. /etc/clamav-unofficial-sigs.dsa.conf
diff --git a/modules/clamav/files/clamav-unofficial-sigs.dsa.conf b/modules/clamav/files/clamav-unofficial-sigs.dsa.conf
new file mode 100644 (file)
index 0000000..cacf200
--- /dev/null
@@ -0,0 +1,22 @@
+ss_dbs="
+   junk.ndb
+   jurlbl.ndb
+   lott.ndb
+   phish.ndb
+   rogue.hdb
+   sanesecurity.ftm
+   scam.ndb
+   spam.ldb
+   spamimg.hdb
+   spear.ndb
+   winnow_malware.hdb
+   winnow_malware_links.ndb
+   winnow_phish_complete_url.ndb
+"
+
+si_dbs="
+   honeynet.hdb
+   securiteinfo.hdb
+   vx.hdb
+"
+
index 591bbf5d8cb8fa457b2cee25dc17ba6f509b228c..fa7e17ecf85425f11ff01391a7c0cbefb3ca54bc 100644 (file)
@@ -3,5 +3,15 @@ class clamav {
               "clamav-freshclam": ensure => installed;
               "clamav-unofficial-sigs": ensure => installed;
     }
+    file {
+        "/etc/clamav-unofficial-sigs.dsa.conf":
+          require => Package["clamav-unofficial-sigs"],
+          source  => [ "puppet:///clamav/clamav-unofficial-sigs.dsa.conf" ]
+          ;
+        "/etc/clamav-unofficial-sigs.conf":
+          require => Package["clamav-unofficial-sigs"],
+          source  => [ "puppet:///clamav/clamav-unofficial-sigs.conf" ]
+          ;
+    }
 }