Issue #11105 has been updated by Michael Stahnke. Status changed from Needs Decision to Closed
My situation was a local puppet apply, so the node being referenced twice stems from that. However, after reading my ticket, I am not sure what I was thinking. The data is in that message already. Other than adding a suggestion or "did you mean" options, the message is fine. ---------------------------------------- Bug #11105: Provide better error message (perhaps even suggestions) when module layout doesn't quite map https://projects.puppetlabs.com/issues/11105 Author: Michael Stahnke Status: Closed Priority: Normal Assignee: Randall Hansen Category: error reporting Target version: Affected Puppet version: Keywords: Branch: In this case I had a folder (module) named "apache_yum" the class in the manifests/init.pp was called "apache". Current error message when that happens: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class apache_yum for centos6-32 on node centos6-32 Could puppet, do something like git and say: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class apache_yum for centos6-32 on node centos6-32. Looking for class apache_yum in ${modulepath}/modulename/manifests/init.pp. Only found (any classes). More helpful error messages would be ideal. Perhaps even a "did you mean?" or something. -- 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.
