summaryrefslogtreecommitdiff
path: root/manifests/rules/libvirt/host/from_vmz.pp
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-04-05 14:50:47 +0000
committerintrigeri <intrigeri@boum.org>2018-04-05 14:54:16 +0000
commitf5b60662a9f68ed559a421aef0bc3912cb7e99d1 (patch)
tree70d8d789dc2cfdc4b2abf8ecb8af5d3db7821b04 /manifests/rules/libvirt/host/from_vmz.pp
parent0bbd20b803b90acc55bd6d52239c11c0e87d2dad (diff)
Puppet 4 compatibility.
Diffstat (limited to 'manifests/rules/libvirt/host/from_vmz.pp')
-rw-r--r--manifests/rules/libvirt/host/from_vmz.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/rules/libvirt/host/from_vmz.pp b/manifests/rules/libvirt/host/from_vmz.pp
new file mode 100644
index 0000000..f25c333
--- /dev/null
+++ b/manifests/rules/libvirt/host/from_vmz.pp
@@ -0,0 +1,14 @@
+define shorewall::rules::libvirt::host::from_vmz (
+ $proto = '-',
+ $destinationport = '-',
+ $action = 'ACCEPT'
+) {
+ shorewall::rule { $name:
+ source => $shorewall::rules::libvirt::host::vmz,
+ destination => '$FW',
+ order => 300,
+ proto => $proto,
+ destinationport => $destinationport,
+ action => $action;
+ }
+}