We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dfc583 commit 2a28eceCopy full SHA for 2a28ece
lib/puppet/parser/functions/getparam.rb
@@ -25,6 +25,8 @@
25
raise(ArgumentError, 'Must specify a reference') unless reference
26
raise(ArgumentError, 'Must specify name of a parameter') unless param and param.instance_of? String
27
28
+ return '' if param.empty?
29
+
30
if resource = findresource(reference.to_s)
31
return resource[param] if resource[param]
32
end
0 commit comments