We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f71f4a2 commit 1dd3b92Copy full SHA for 1dd3b92
lib/puppet/parser/functions/join_keys_to_values.rb
@@ -41,6 +41,8 @@ module Puppet::Parser::Functions
41
hash.map { |k, v|
42
if v.is_a?(Array)
43
v.map { |va| String(k) + separator + String(va) }
44
+ elsif String(v) == 'undef'
45
+ String(k)
46
else
47
String(k) + separator + String(v)
48
end
0 commit comments