summaryrefslogtreecommitdiff
path: root/manifests/rules/tomcat.pp
diff options
context:
space:
mode:
authorJuerg Gerber <gerber@puzzle.ch>2010-10-25 16:35:45 +0200
committerMarcel Haerry <haerry@puzzle.ch>2011-08-04 11:23:55 +0200
commit03cf926ad26a0b1b5c2882ea0b9642aca9b058cf (patch)
treed4740a4e9bcb9b85c110bd90176a0d329fc7587a /manifests/rules/tomcat.pp
parent77dd3cb7444ef0fa2d3e9594342acd0b60e92b1c (diff)
added rule for tomcat
Diffstat (limited to 'manifests/rules/tomcat.pp')
-rw-r--r--manifests/rules/tomcat.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/rules/tomcat.pp b/manifests/rules/tomcat.pp
new file mode 100644
index 0000000..3c6f9df
--- /dev/null
+++ b/manifests/rules/tomcat.pp
@@ -0,0 +1,12 @@
+class shorewall::rules::tomcat {
+ # open tomcat port
+ shorewall::rule {
+ 'net-me-tomcat-tcp':
+ source => 'net',
+ destination => '$FW',
+ proto => 'tcp',
+ destinationport => '8080',
+ order => 240,
+ action => 'ACCEPT';
+ }
+}