From: Silvio Rhatto Date: Fri, 16 Oct 2015 20:52:57 +0000 (-0300) Subject: Switch firewall::router::rsync to class X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1da3a6387423c14aeaeb01368a212d7619cb6204;p=puppet-firewall.git Switch firewall::router::rsync to class --- 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',