Issue #11105 has been updated by Randall Hansen.
`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).`
I think this is a solid error message. Questions:
* "for centos6-32 on node centos6-32" seems redundant to me. What am I missing?
* What use is the "Only found (any classes)" sentence?
----------------------------------------
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: Needs Decision
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.