# HG changeset patch # User IBBoard # Date 1601142510 -3600 # Node ID 3717200274ce2a1d907e71132424607ad51a2b00 # Parent 11d940c9014ebdd3d215aa5ed1648c5ad7aa2f2b Un-munge string value to avoid unnecessary single quotes The single quotes are an old known bug and break the pattern matching, because they're then wrapped in double-quotes as a string diff -r 11d940c9014e -r 3717200274ce modules/firewall/lib/puppet/type/firewall.rb --- a/modules/firewall/lib/puppet/type/firewall.rb Wed Sep 23 20:43:20 2020 +0100 +++ b/modules/firewall/lib/puppet/type/firewall.rb Sat Sep 26 18:48:30 2020 +0100 @@ -2062,10 +2062,6 @@ String matching feature. Matches the packet against the pattern given as an argument. PUPPETCODE - - munge do |value| - _value = "'" + value + "'" - end end newproperty(:string_hex) do