varnish for snapshot on stabile
authorPeter Palfrader <peter@palfrader.org>
Mon, 16 Aug 2010 10:29:09 +0000 (12:29 +0200)
committerPeter Palfrader <peter@palfrader.org>
Mon, 16 Aug 2010 10:29:09 +0000 (12:29 +0200)
modules/ferm/manifests/per-host.pp

index 5357068..0990a1a 100644 (file)
@@ -208,6 +208,16 @@ class ferm::per-host {
                 rule            => 'proto tcp daddr 193.62.202.28 dport 80 REDIRECT to-ports 6081',
             }
         }
+        stabile: {
+            @ferm::rule { "dsa-snapshot-varnish":
+                rule            => '&SERVICE(tcp, 6081)',
+            }
+            @ferm::rule { "dsa-nat-snapshot-varnish":
+                table           => 'nat',
+                chain           => 'PREROUTING',
+                rule            => 'proto tcp daddr 206.12.19.150 dport 80 REDIRECT to-ports 6081',
+            }
+        }
     }
 }