summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-06-19 18:04:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-06-19 18:04:11 -0300
commit303e2cfcb14fb9dcec2fcda13608389f84bfb307 (patch)
tree47df00505c6668ba865fd42e1939d3cc1b5fbf49
parentaa8eff8a58330b3003f4c54856516530d75814fb (diff)
downloadpuppet-firewall-303e2cfcb14fb9dcec2fcda13608389f84bfb307.tar.gz
puppet-firewall-303e2cfcb14fb9dcec2fcda13608389f84bfb307.tar.bz2
Minor merge fixes
-rw-r--r--manifests/init.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index abe731d..7491dee 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -6,8 +6,8 @@ class firewall(
$in_bandwidth = hiera('firewall::in_bandwidth', '100mbit'),
$out_bandwidth = hiera('firewall::out_bandwidth', '100mbit'),
$device_options = hiera('firewall::device_options', 'tcpflags,blacklist,routefilter,nosmurfs,logmartians'),
- $vm_address = hiera('firewall::vm_address', '192.168.0.0/24'),
- $vm_device = hiera('firewall::vm_device', false)
+ $vm_address = hiera('firewall::vm_address', '192.168.0.0/24'),
+ $vm_device = hiera('firewall::vm_device', false)
) {
class { 'shorewall': }
@@ -86,7 +86,7 @@ class firewall(
# Hosts
#
$real_subnet_device = $vm_device ? {
- false => $device,
+ false => $device,
default => $vm_device,
}
@@ -107,7 +107,7 @@ class firewall(
}
$real_masq_interface = $vm_device ? {
- false => "${device}!${vm_address}",
+ false => "${device}:!${vm_address}",
default => "${device}",
}