aboutsummaryrefslogtreecommitdiff
path: root/manifests/rules/tomcat.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-11-11 23:10:20 +0100
committerintrigeri <intrigeri@boum.org>2012-11-11 23:10:20 +0100
commit8080f1a892a69dc171187c8165d7e81f5b5b512d (patch)
tree6e610ec18aaa13f7797eedd08b03c852e49d8cfb /manifests/rules/tomcat.pp
parent911cc18e594bb5a3ab642ebb24615a0447050c32 (diff)
parent5052233d92e97263eab292408ed2602db0836d98 (diff)
downloadpuppet-shorewall-8080f1a892a69dc171187c8165d7e81f5b5b512d.tar.gz
puppet-shorewall-8080f1a892a69dc171187c8165d7e81f5b5b512d.tar.bz2
Merge remote-tracking branch 'riseup/master' into tmp
Conflicts: manifests/init.pp
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';
+ }
+}