From: Peter Palfrader Date: Mon, 2 Jun 2014 18:41:10 +0000 (+0200) Subject: varnish rule for lw05 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b3b81b8c7700d5680372a5ebcdcde9a5b255d52e;p=mirror%2Fdsa-puppet.git varnish rule for lw05 --- diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index eaf789013..3df1beeed 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -179,6 +179,16 @@ class ferm::per-host { rule => 'proto tcp daddr 206.12.19.150 dport 80 REDIRECT to-ports 6081', } } + lw05: { + @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.181 dport 80 REDIRECT to-ports 6081', + } + } default: {} } case $::hostname {