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:
126bffd
)
varnish rule for lw05
author
Peter Palfrader
<peter@palfrader.org>
Mon, 2 Jun 2014 18:41:10 +0000
(20:41 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 2 Jun 2014 18:41:10 +0000
(20:41 +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
eaf7890
..
3df1bee
100644
(file)
--- 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 {