Merge pull request #35 from arjenz/convert_data

Do explicit string conversion on values too
This commit is contained in:
Ewoud Kohl van Wijngaarden
2022-10-06 13:09:15 +02:00
committed by GitHub

View File

@@ -129,7 +129,7 @@ module PuppetX
attr = attribute.to_s attr = attribute.to_s
value_data = [] value_data = []
Array(values).flatten.each do |v| Array(values).flatten.each do |v|
value_data << v.chomp value_data << v.to_s.chomp
end end
entry_data[attr] = value_data entry_data[attr] = value_data
end end