puppetlabs/puppet — pull request #277 by daniel-pittman (2011-12-15 20:08:41+00:00)
Title: Bug/2.7.x/11423 better collector error message

When multiple nodes export a resource with a duplicate type and title, and you
import both, the error message misleadingly tells you that this was a *local*
duplication.

This improves the error message to cover all the bases, which is suboptimal -
it should tell you where the duplicate comes from - but at least doesn't lead
to a wild goose hunt for the *local* duplicate that doesn't exist.

Signed-off-by: Daniel Pittman