]> gitweb.fluxo.info Git - puppet-firewall.git/commitdiff
Use class parameters for firewall::wifi
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Aug 2017 23:01:33 +0000 (20:01 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 17 Aug 2017 23:01:33 +0000 (20:01 -0300)
manifests/wifi.pp

index 161d40205df557307f1ada25ecfa4dfd8b5918a9..a93ca6afa998b33dd7899d5bb581edce2b926b42 100644 (file)
@@ -1,4 +1,7 @@
-class firewall::wifi {
+class firewall::wifi (
+  $shorewall_local_net = false,
+  $wifi_device         = '',
+) {
   $rfc1918 = $shorewall_local_net ? {
     true    => true,
     false   => false,