Issue #11623 has been updated by James Turnbull.

Status changed from Accepted to Duplicate

Duplicate of #4138.
----------------------------------------
Bug #11623: Puppet should give useful debugging information
https://projects.puppetlabs.com/issues/11623

Author: Sharif Nassar
Status: Duplicate
Priority: Normal
Assignee: Daniel Pittman
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to