From 14ced49d32beab8b80c6499b3a02ed1523ab98ae Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 11 Sep 2015 21:56:50 -0300 Subject: Use firewall::virtual class names --- manifests/virtual/rsync.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/virtual/rsync.pp (limited to 'manifests/virtual/rsync.pp') diff --git a/manifests/virtual/rsync.pp b/manifests/virtual/rsync.pp new file mode 100644 index 0000000..50df46c --- /dev/null +++ b/manifests/virtual/rsync.pp @@ -0,0 +1,11 @@ +class firewall::virtual::rsync($destination, $zone = 'fw') { + shorewall::rule { 'rsync-0': + action => 'DNAT', + source => 'net', + destination => "$zone:$destination:873", + proto => 'tcp', + destinationport => '873', + ratelimit => '-', + order => 2600, + } +} -- cgit v1.2.3