summaryrefslogtreecommitdiff
path: root/manifests/rules/libvirt/host.pp
diff options
context:
space:
mode:
authorMicah <micah@riseup.net>2015-10-09 19:00:24 +0000
committerMicah <micah@riseup.net>2015-10-09 19:00:24 +0000
commit40d8f49f21a2580db1c0f87dd93c76ede2c4a272 (patch)
treedc90c263297f9539ced3f3e7c7ca7145c0fcf37f /manifests/rules/libvirt/host.pp
parentd3b5fedd3191da12cea503074583f9a38e306580 (diff)
parent99a1b07bc1d35ebc90971357d4b6bee0e847dc84 (diff)
Merge branch 'feature/mangle-support-multiple-rules-with-same-action' into 'master'
Feature/mangle support multiple rules with same action This allows one to support multiple networks in libvirt. See merge request !4
Diffstat (limited to 'manifests/rules/libvirt/host.pp')
-rw-r--r--manifests/rules/libvirt/host.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/rules/libvirt/host.pp b/manifests/rules/libvirt/host.pp
index c226865..dc3970d 100644
--- a/manifests/rules/libvirt/host.pp
+++ b/manifests/rules/libvirt/host.pp
@@ -52,7 +52,8 @@ class shorewall::rules::libvirt::host (
}
if $accept_dhcp {
- shorewall::mangle { 'CHECKSUM:T':
+ shorewall::mangle { "CHECKSUM:T_${vmz_iface}":
+ action => 'CHECKSUM:T',
source => '-',
destination => $vmz_iface,
proto => 'udp',