Issue #4138 has been reported by Lee Whalen.
----------------------------------------
Bug #4138: Puppet needs to complain better about resources with blank names
http://projects.puppetlabs.com/issues/4138
Author: Lee Whalen
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.5
Keywords:
Branch:
I wrote a manifest that had this typo in it:
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
}
}
(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.