summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2017-04-15 13:33:39 +0200
committermh <mh@immerda.ch>2017-04-15 13:33:39 +0200
commit31a4479652a881ed0a6b5eee7454f317b4f6bd80 (patch)
tree57956833b5f4aad66faee6a5e20079771520ec87
parent60b1ac3ad8fc6ed5277ca7f3cb0cdd52df5f6875 (diff)
linting
-rw-r--r--manifests/masq.pp21
1 files changed, 11 insertions, 10 deletions
diff --git a/manifests/masq.pp b/manifests/masq.pp
index fb097e5..1ecbe35 100644
--- a/manifests/masq.pp
+++ b/manifests/masq.pp
@@ -2,16 +2,17 @@
# source (= subnet) = Set of hosts that you wish to masquerade.
# address = If you specify an address here, SNAT will be used and this will be the source address.
define shorewall::masq(
- $interface,
- $source, $address = '-',
- $proto = '-',
- $port = '-',
- $ipsec = '-',
- $mark = '',
- $order='100'
+ $interface,
+ $source,
+ $address = '-',
+ $proto = '-',
+ $port = '-',
+ $ipsec = '-',
+ $mark = '-',
+ $order = '100',
){
- shorewall::entry{"masq-${order}-${name}":
- line => "# ${name}\n${interface} ${source} ${address} ${proto} ${port} ${ipsec} ${mark}"
- }
+ shorewall::entry{"masq-${order}-${name}":
+ line => "# ${name}\n${interface} ${source} ${address} ${proto} ${port} ${ipsec} ${mark}"
+ }
}