summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet')
-rw-r--r--lib/puppet/transaction.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index 1f7d40637..d244c06d8 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -490,7 +490,7 @@ class Transaction
if Puppet[:trace]
puts detail.backtrace
end
- Puppet.err "Could not prefetch % provider %s: %s" % [resources[0].class.name, provider.name, detail]
+ Puppet.err "Could not prefetch %s provider '%s': %s" % [provider.resource_type.name, provider.name, detail]
end
end
end