diff --git a/lib/puppet/provider/firewall/iptables.rb b/lib/puppet/provider/firewall/iptables.rb index 98716f8b2..8c9f2d35a 100644 --- a/lib/puppet/provider/firewall/iptables.rb +++ b/lib/puppet/provider/firewall/iptables.rb @@ -246,7 +246,7 @@ def self.munge_resource_map_from_existing_values(resource_map_original, compare) resource_map_new[argument][0] = "-m #{ipt_module} #{resource_map_original[argument].first}" break end - elsif compare.include?(resource_map_original[argument]+' ') + elsif compare.include?(resource_map_original[argument] + ' ') resource_map_new[argument] = "-m #{ipt_module} #{resource_map_original[argument]}" break end