From 345518122f0e9d68b4037d4cbdcb485b4d878f78 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Sat, 12 May 2012 11:23:45 -0400 Subject: [PATCH] (#14455) Support interface names containing "+" Previously iniface and outiface wouldn't allow + in the interface names. This patch fixes that. --- 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 a5cc872..59db2ea 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