diff options
author | intrigeri <intrigeri@boum.org> | 2015-07-16 12:36:11 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2015-07-16 12:36:11 +0000 |
commit | 99a1b07bc1d35ebc90971357d4b6bee0e847dc84 (patch) | |
tree | dc90c263297f9539ced3f3e7c7ca7145c0fcf37f /manifests | |
parent | 9d51aff4288516347a793d4ba802d7a669d2db5b (diff) | |
download | puppet-shorewall-99a1b07bc1d35ebc90971357d4b6bee0e847dc84.tar.gz puppet-shorewall-99a1b07bc1d35ebc90971357d4b6bee0e847dc84.tar.bz2 |
shorewall::rules::libvirt::host: adjust to changes in shorewall::mangle.
That is, make the resource's title more unique by including the destination
interface in it, and accordingly pass the desired action via the new,
dedicated parameter.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/rules/libvirt/host.pp | 3 |
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', |