From f5b60662a9f68ed559a421aef0bc3912cb7e99d1 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Thu, 5 Apr 2018 14:50:47 +0000 Subject: Puppet 4 compatibility. --- manifests/rules/libvirt/host/from_vmz.pp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 manifests/rules/libvirt/host/from_vmz.pp (limited to 'manifests/rules/libvirt/host/from_vmz.pp') 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; + } +} -- cgit v1.2.3