From 52f68bb9ec16ebd8843d7f1aac245e1126d17ded Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Aug 2011 17:38:25 -0300 Subject: Minor changes --- manifests/subsystems/firewall.pp | 2 +- manifests/subsystems/firewall/local.pp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/subsystems/firewall.pp b/manifests/subsystems/firewall.pp index 841757a..c3c5396 100644 --- a/manifests/subsystems/firewall.pp +++ b/manifests/subsystems/firewall.pp @@ -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, diff --git a/manifests/subsystems/firewall/local.pp b/manifests/subsystems/firewall/local.pp index 71c21cd..a9b40a9 100644 --- a/manifests/subsystems/firewall/local.pp +++ b/manifests/subsystems/firewall/local.pp @@ -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, -- cgit v1.2.3