summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-16 17:52:57 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-10-16 17:52:57 -0300
commit1da3a6387423c14aeaeb01368a212d7619cb6204 (patch)
tree12f5c4788e5403d7f0182fe2f08ae9b30466c3fd /manifests
parentddefe2e18b2384f700e9b3ea131added98bc8baa (diff)
downloadpuppet-firewall-1da3a6387423c14aeaeb01368a212d7619cb6204.tar.gz
puppet-firewall-1da3a6387423c14aeaeb01368a212d7619cb6204.tar.bz2
Switch firewall::router::rsync to class
Diffstat (limited to 'manifests')
-rw-r--r--manifests/router/rsync.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/router/rsync.pp b/manifests/router/rsync.pp
index e185981..71faf86 100644
--- a/manifests/router/rsync.pp
+++ b/manifests/router/rsync.pp
@@ -1,5 +1,5 @@
-define firewall::router::rsync($destination, $port_orig = '873', $port_dest = '', $zone = 'loc',
- $originaldest = $ipaddress) {
+class firewall::router::rsync($destination, $port_orig = '873', $port_dest = '', $zone = 'loc',
+ $originaldest = $ipaddress) {
shorewall::rule { "rsync-$name-1":
action => 'DNAT',
source => 'net',