Issue #11623 has been updated by James Turnbull. Category set to error reporting Status changed from Unreviewed to Needs Decision Assignee set to Randall Hansen
Randall - concur with Sharif here. I think Daniel and Markus tackled some of this in the past and I wrote some tests for Puppet-Lint for it but it's a bloody annoying error. ---------------------------------------- Bug #11623: Puppet should give useful debugging information https://projects.puppetlabs.com/issues/11623 Author: Sharif Nassar Status: Needs Decision Priority: Normal Assignee: Randall Hansen 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.
