changeset 349:3717200274ce

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
author IBBoard <dev@ibboard.co.uk>
date Sat, 26 Sep 2020 18:48:30 +0100
parents 11d940c9014e
children 85d2c0079af9
files modules/firewall/lib/puppet/type/firewall.rb
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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