Issue #4138 has been updated by Daniel Pittman. Assignee deleted (Daniel Pittman)
---------------------------------------- Bug #4138: Puppet needs to complain better about resources with blank names https://projects.puppetlabs.com/issues/4138#change-92385 * Author: Lee Whalen * Status: Accepted * Priority: Normal * Assignee: * 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 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.
