puppetlabs/puppetdb — pull request #267 by grimradical (2012-08-28 02:04:19+00:00)
Title: (#15748) Better logging of malformed relationships

If puppet generates a catalog that’s malformed, we output an error
message like so:

Can't find resource Rvm_system_ruby['ruby-1.9.3-p0'] for relationship

While it tells you one part of the problem, it doesn’t display the full
relationship edge (making it hard to triangulate where the error is).

We now display a message that includes both resources involved in the
edge, what their relationship is supposed to be, and which parameter is
attempting to create this edge.

Signed-off-by: Deepak Giridharagopal