Issue #4220 has been updated by Jasper Poppe.
This is indeed quite a big change in behavior, all of my (our) small modules which have subclasses are done in one file. And personally when I'm developing a new module I like to have everything in the init.pp file so I can easier keep the overview. For example our PHP module contains about 12 submodules, most of those submodules just install one or 2 packages. (again) personally I prefer to have this in one file instead of 12 files with a few lines in each. On the other hand I can understand the reason why this is not allowed anymore, but like Todd said please make it clear in the release notes since many Puppet modules/setups will break! ---------------------------------------- Bug #4220: Could not find class ssh::client in namespaces baseclass http://projects.puppetlabs.com/issues/4220 Author: Todd Zullinger Status: Re-opened Priority: High Assigned to: Markus Roberts Category: parser Target version: 2.6.0 Affected version: 2.6.0rc2 Keywords: Branch: Testing some basic manifests on CentOS 5 and Fedora 10, I'm running into problems finding classes. These manifests worked with previous puppet versions. <pre> # cat manifests/site.pp modules/ssh/manifests/init.pp # manifests/site.pp class baseclass { include ssh::client } node default { include baseclass } # modules/ssh/manifests/init.pp class ssh { notify { 'ssh': message => "class = ssh" } } class ssh::client inherits ssh { notify { 'ssh::client': message => "class = ssh::client" } } # puppet agent -tv --noop err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class ssh::client in namespaces baseclass at /etc/puppet/manifests/site.pp:3 on node c54-64-test.example.net warning: Not using cache on failed catalog err: Could not retrieve catalog; skipping run </pre> -- 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.
