Issue #11623 has been updated by Daniel Pittman.

Assignee deleted (Daniel Pittman)

----------------------------------------
Bug #11623: Puppet should give useful debugging information
https://projects.puppetlabs.com/issues/11623#change-92280

* Author: Sharif Nassar
* Status: Duplicate
* Priority: Normal
* Assignee: 
* Category: error reporting
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
We periodically screw up our manifests and get this error:
`err: Could not retrieve catalog from remote server: Could not intern from 
pson: Could not convert from pson: Could not find relationship target 
"Package[]"
`

This is almost totally worthless.  I now know that somewhere in my zillion 
lines of puppet code, I have a relationship for a variable that is not defined.

Nine hours later, after a binary search through our manifests, I finally found 
this:
`require => Package[$nrpe::package],`

$nrpe::package is defined based on $operatingsystem, and there was no default 
for this value.

Please, oh please, have the error message tell me WHICH RESOURCE is broken.  
Otherwise, I have to waste time every time something silly like this happens.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to