summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-08-17 20:01:33 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-08-17 20:01:33 -0300
commit360ba36e8ae210f3d646f744b6464443bb5ad34f (patch)
tree6406e8917148f08ec6691cc388e44f1409ffb10e
parent49c4dd9653312f0e2faa6c9b8583ae2f59e01082 (diff)
downloadpuppet-firewall-360ba36e8ae210f3d646f744b6464443bb5ad34f.tar.gz
puppet-firewall-360ba36e8ae210f3d646f744b6464443bb5ad34f.tar.bz2
Use class parameters for firewall::wifi
-rw-r--r--manifests/wifi.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/wifi.pp b/manifests/wifi.pp
index 161d402..a93ca6a 100644
--- a/manifests/wifi.pp
+++ b/manifests/wifi.pp
@@ -1,4 +1,7 @@
-class firewall::wifi {
+class firewall::wifi (
+ $shorewall_local_net = false,
+ $wifi_device = '',
+) {
$rfc1918 = $shorewall_local_net ? {
true => true,
false => false,