From 8495db74d9e120e8b826ddf83b66c94995809dbc Mon Sep 17 00:00:00 2001 From: Johan Huysmans Date: Fri, 9 Dec 2011 10:05:28 +0100 Subject: [PATCH] (#11305) Support vlan interfaces (interface containing ".") --- lib/puppet/type/firewall.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet/type/firewall.rb b/lib/puppet/type/firewall.rb index 680f776..a5cc872 100644 --- a/lib/puppet/type/firewall.rb +++ b/lib/puppet/type/firewall.rb @@ -295,14 +295,14 @@ Puppet::Type.newtype(:firewall) do desc <<-EOS Input interface to filter on. EOS - newvalues(/^[a-zA-Z0-9\-_]+$/) + newvalues(/^[a-zA-Z0-9\-\._]+$/) end newproperty(:outiface, :required_features => :interface_match) do desc <<-EOS Output interface to filter on. EOS - newvalues(/^[a-zA-Z0-9\-_]+$/) + newvalues(/^[a-zA-Z0-9\-\._]+$/) end # NAT specific properties -- 2.45.2