From: Peter Palfrader Date: Wed, 4 Jun 2014 06:00:44 +0000 (+0200) Subject: varnish redirect on lw06 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d346a4ce6b4405c78ff56c94482dae1398993bd0;p=mirror%2Fdsa-puppet.git varnish redirect on lw06 --- diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index 3df1beeed..c9a9d5d98 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -189,6 +189,16 @@ class ferm::per-host { rule => 'proto tcp daddr 185.17.185.181 dport 80 REDIRECT to-ports 6081', } } + lw06: { + @ferm::rule { 'dsa-snapshot-varnish': + rule => '&SERVICE(tcp, 6081)', + } + @ferm::rule { 'dsa-nat-snapshot-varnish': + table => 'nat', + chain => 'PREROUTING', + rule => 'proto tcp daddr 185.17.185.182 dport 80 REDIRECT to-ports 6081', + } + } default: {} } case $::hostname {