Issue #4138 has been updated by Andrew Parker. Target version deleted (2.7.x)
---------------------------------------- Bug #4138: Puppet needs to complain better about resources with blank names https://projects.puppetlabs.com/issues/4138#change-80251 Author: Lee Whalen Status: Accepted Priority: Normal Assignee: Daniel Pittman Category: error reporting Target version: 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.