diff --git a/lib/puppet/provider/windowsfirewall/powershell.rb b/lib/puppet/provider/windowsfirewall/powershell.rb index e4302ea..9b2f08c 100644 --- a/lib/puppet/provider/windowsfirewall/powershell.rb +++ b/lib/puppet/provider/windowsfirewall/powershell.rb @@ -92,7 +92,7 @@ def self.get_firewall_properties(zone) property_name = method_map.key(key.strip) next if property_name.nil? - hash_of_properties[property_name.intern] = val.strip.chomp + hash_of_properties[property_name.intern] = val.strip.chomp.delete('{|}') end hash_of_properties[:name] = zone hash_of_properties[:ensure] = hash_of_properties[:ensure] == 'True' ? :present : :absent