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:
eb1c3c2
)
Try some nat/redirect magic on sibelius
author
Peter Palfrader
<peter@palfrader.org>
Fri, 13 Aug 2010 20:27:03 +0000
(22:27 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Fri, 13 Aug 2010 20:27:03 +0000
(22:27 +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
3e07aec
..
a4ab0d9
100644
(file)
--- a/
modules/ferm/manifests/per-host.pp
+++ b/
modules/ferm/manifests/per-host.pp
@@
-195,6
+195,20
@@
class ferm::per-host {
}
}
}
+
+ # redirect snapshot into varnish
+ case $hostname {
+ sibelius: {
+ @ferm::rule { "dsa-snapshot-varnish":
+ rule => '&SERVICE(tcp, 11371)'
+ }
+ @ferm::rule { "dsa-snapshot-varnish":
+ table => 'nat'
+ chain => 'PREROUTING'
+ rule => 'proto tcp daddr 193.62.202.28 dport 80 REDIRECT to-ports 6081'
+ }
+ }
+ }
}
# vim:set et: