Add host based blacklist
authorStephen Gran <steve@lobefin.net>
Fri, 24 Jul 2009 14:31:40 +0000 (15:31 +0100)
committerStephen Gran <steve@lobefin.net>
Fri, 24 Jul 2009 14:31:40 +0000 (15:31 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/exim/files/common/host_blacklist [new file with mode: 0644]
modules/exim/manifests/init.pp

diff --git a/modules/exim/files/common/host_blacklist b/modules/exim/files/common/host_blacklist
new file mode 100644 (file)
index 0000000..3c1a7b8
--- /dev/null
@@ -0,0 +1,5 @@
+##
+## 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
+##
+193.146.156.252
index a886850..3b51141 100644 (file)
@@ -27,6 +27,11 @@ class exim {
           source  => [ "puppet:///exim/per-host/$fqdn/manualroute",
                        "puppet:///exim/common/manualroute" ]
           ;
+        "/etc/exim4/host_blacklist":
+          require => Package["exim4-daemon-heavy"],
+          source  => [ "puppet:///exim/per-host/$fqdn/host_blacklist",
+                       "puppet:///exim/common/host_blacklist" ]
+          ;
         "/etc/exim4/blacklist":
           require => Package["exim4-daemon-heavy"],
           source  => [ "puppet:///exim/per-host/$fqdn/blacklist",