projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b81b8
)
varnish redirect on lw06
author
Peter Palfrader
<peter@palfrader.org>
Wed, 4 Jun 2014 06:00:44 +0000
(08:00 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 4 Jun 2014 06:00:44 +0000
(08:00 +0200)
modules/ferm/manifests/per-host.pp
patch
|
blob
|
history
diff --git
a/modules/ferm/manifests/per-host.pp
b/modules/ferm/manifests/per-host.pp
index
3df1bee
..
c9a9d5d
100644
(file)
--- 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 {