summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2013-07-26 14:11:33 -0400
committerMicah Anderson <micah@leap.se>2013-07-26 14:11:33 -0400
commit8d28379aca4d8a79caa00afbf79ad4e5a204493f (patch)
tree5fa0bedba730c04762953e0d49deaba8554d08f2 /puppet/modules/site_shorewall
parentc8922ffdf2ec8f459c4ed225329ea5fb634f4799 (diff)
parent1c9c5a5fec51919a8e9ec14f5fe9b16c538bb4fa (diff)
Merge branch 'feature/soledad' into feature/leap_mx
Diffstat (limited to 'puppet/modules/site_shorewall')
-rw-r--r--puppet/modules/site_shorewall/manifests/soledad.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/puppet/modules/site_shorewall/manifests/soledad.pp b/puppet/modules/site_shorewall/manifests/soledad.pp
new file mode 100644
index 00000000..f3272c04
--- /dev/null
+++ b/puppet/modules/site_shorewall/manifests/soledad.pp
@@ -0,0 +1,20 @@
+class site_shorewall::soledad {
+
+ include site_shorewall::defaults
+
+ # define macro for incoming services
+ file { '/etc/shorewall/macro.leap_soledad':
+ content => 'PARAM - - tcp 2424',
+ notify => Service['shorewall'],
+ require => Package['shorewall']
+ }
+
+ shorewall::rule {
+ 'net2fw-soledad':
+ source => 'net',
+ destination => '$FW',
+ action => 'leap_soledad(ACCEPT)',
+ order => 200;
+ }
+}
+