diff --git a/libvirt/manifests/init.pp b/libvirt/manifests/init.pp index 0cfbf88..348efda 100644 --- a/libvirt/manifests/init.pp +++ b/libvirt/manifests/init.pp @@ -117,7 +117,7 @@ class libvirt::kvm inherits libvirt::client { notify => Service["libvirtd"], } - if defined(Service["iptables"]) { + if $::interfaces =~ /virbr[0-9]/ and defined(Service["iptables"]) { $iptables = Service["iptables"] } else { $iptables = undef