We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 79e79e8 + 0d11bde commit 4700f16Copy full SHA for 4700f16
lib/puppet/parser/functions/ensure_resource.rb
@@ -36,8 +36,9 @@
36
items.each do |item|
37
Puppet::Parser::Functions.function(:defined_with_params)
38
if function_defined_with_params(["#{type}[#{item}]", params])
39
- Puppet.debug("Resource #{type}[#{item}] not created because it already exists")
+ Puppet.debug("Resource #{type}[#{item}] with params #{params} not created because it already exists")
40
else
41
+ Puppet.debug("Create new resource #{type}[#{item}] with params #{params}")
42
Puppet::Parser::Functions.function(:create_resources)
43
function_create_resources([type.capitalize, { item => params }])
44
end
0 commit comments