]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Minor changes
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 11 Aug 2011 20:38:25 +0000 (17:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 11 Aug 2011 20:38:25 +0000 (17:38 -0300)
manifests/subsystems/firewall.pp
manifests/subsystems/firewall/local.pp

index 841757ad1ff7e2eb2abaa9b9f54f6d54675b2ea3..c3c53963c597c48aa25589b3342beb40401c4a45 100644 (file)
@@ -200,7 +200,7 @@ class firewall {
   }
 
   if $shorewall_local_net {
-    class { 'firewall::local':
+    class { "firewall::local":
       network          => $shorewall_local_net_network,
       interface        => $shorewall_local_net_iface,
       manage_host      => $shorewall_local_net_manage_host,
index 71c21cdae2adea7d890f5c59e2954a7fc72a1103..a9b40a966a84792b6c78f88bb6c00d68c3e0decc 100644 (file)
@@ -2,7 +2,7 @@ class firewall::local($network = '192.168.1.0/24', $interface = 'eth0', $manage_
 
   if $manage_host {
     shorewall::host { "$interface-loc":
-      name    =>  "$interface:$network",
+      name    => "$interface:$network",
       zone    => 'loc',
       options => '',
       order   => '3',
@@ -10,7 +10,7 @@ class firewall::local($network = '192.168.1.0/24', $interface = 'eth0', $manage_
   }
 
   if $manage_interface {
-    shorewall::interface { $interface:
+    shorewall::interface { "$interface":
       zone    => 'loc',
       rfc1918 => true,
       dhcp    => true,