daniel-pittman/puppet — comment on commit 20e03a926acde2daa69e0fbb3b11e2bc44e48b9c
File: lib/puppet/parser/collector.rb line 114
By joshcooper:

Is it possible to include the file and line number of the duplicate resource? Otherwise, it's hard to tell from the error message where the problem lies, especially because I'm using a tag to bind the exported/imported resource, and the tag isn't in the error message.

$ puppet agent --test --certname host3 --server sirrus.puppetlabs.lan
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Another local or imported resource exists with the type and title File[/tmp/test] on node host3