From 1da3a6387423c14aeaeb01368a212d7619cb6204 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 16 Oct 2015 17:52:57 -0300 Subject: Switch firewall::router::rsync to class --- manifests/router/rsync.pp | 4 ++-- 1 file 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', -- cgit v1.2.3