diff options
author | Colleen Murphy <cmurphy@users.noreply.github.com> | 2015-01-13 17:43:19 -0800 |
---|---|---|
committer | Colleen Murphy <cmurphy@users.noreply.github.com> | 2015-01-13 17:43:19 -0800 |
commit | 712a58a5ce1f8465710dacad49ca2e60c5d0150e (patch) | |
tree | 7e56b669bf51eb88ee01a5cbc1f84df5766ebf1c /lib/puppet/parser/functions/ensure_resource.rb | |
parent | 80f09623b63cf6946b5913b629911e2c49b5d1dd (diff) | |
parent | cfacdd543e942f7c5d94fd07f14c2f6d8128e83d (diff) |
Merge pull request #397 from cyberious/4.6.x
4.6.x
Diffstat (limited to 'lib/puppet/parser/functions/ensure_resource.rb')
-rw-r--r-- | lib/puppet/parser/functions/ensure_resource.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/parser/functions/ensure_resource.rb b/lib/puppet/parser/functions/ensure_resource.rb index 05e5593..1ba6a44 100644 --- a/lib/puppet/parser/functions/ensure_resource.rb +++ b/lib/puppet/parser/functions/ensure_resource.rb @@ -36,8 +36,9 @@ ENDOFDOC items.each do |item| Puppet::Parser::Functions.function(:defined_with_params) if function_defined_with_params(["#{type}[#{item}]", params]) - 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") else + Puppet.debug("Create new resource #{type}[#{item}] with params #{params}") Puppet::Parser::Functions.function(:create_resources) function_create_resources([type.capitalize, { item => params }]) end |