Issue #4138 has been updated by James Turnbull. Status changed from Accepted to Needs Decision Assignee set to Randall Hansen Target version set to 2.7.x Affected Puppet version changed from 0.25.5 to 2.7.9
This is still a problem in 2.7.x. It's bloody annoying for two reasons: 1. Immensely unhelpful error in terms of what's actually wrong, and 2. It doesn't tell you WHERE the problem is. Assigning to UX for a decision/opinion about fix priority. ---------------------------------------- Bug #4138: Puppet needs to complain better about resources with blank names https://projects.puppetlabs.com/issues/4138 Author: Lee Whalen Status: Needs Decision Priority: Normal Assignee: Randall Hansen Category: error reporting Target version: 2.7.x Affected Puppet version: 2.7.9 Keywords: Branch: I wrote a manifest that had this typo in it: <pre> class ldap_cfg { File { owner => "root", group => "root", mode => "0644" } $ldap_packages = ["nss_ldap", "openldap-clients"] include ldap_cfg::install include ldap_cfg::config } class ldap_cfg::install { package { $ldap_cfg_packages: ensure => installed } } </pre> (note how the variable is created as "$ldap_packages" and references as "$ldap_cfg_packages" in the ldap_cfg::install class) This threw the 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[]"", which was not particularly helpful in tracking the rogue code snippet down. Any chance we could get that tweaked a little bit? Many thanks! --Lee -- 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.
