summaryrefslogtreecommitdiff
path: root/manifests/rules/libvirt/host/from_vmz.pp
diff options
context:
space:
mode:
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;
+ }
+}