Issue #8033 has been updated by Grant Heffernan.
So I actually fixed this. It was related to the way in which I was building my
manifests. Namely, it appears that pre-2.7, I was able to get away with doing
some things that were, ah, not fitting with suggested setup rules.
For example, my motd class had an init.pp that did an 'import *', then I had an
motd.pp with my motd { class in it. This breaks in 2.7, where I moved the class
motd { into init.pp itself. Most of the other failures were for similar things,
such as nested classes (class blah::myblah) not being in the correct myblah.pp
file.
Hope that makes sense. Basically, my fault.
----------------------------------------
Bug #8033: Puppet 2.7 => cannot find classes
https://projects.puppetlabs.com/issues/8033
Author: Grant Heffernan
Status: Duplicate
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version: 2.7.0
Keywords:
Branch:
My current setup has run without issue on 2.6.7, 2.6.8 and now 2.6.9. However,
on attempting to upgrade to 2.7, runs of the agent fail with 'class not found'
errors:
root@puppetmaster:~/puppet-2.7.0# puppet agent --test
info: Loading facts in rvm_installed
info: Loading facts in rvm_installed
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could
not find class puppet_master for 10.182.15.157 at
/etc/puppet/manifests/nodes.pp:50 on node 10.182.15.157
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
root@puppetmaster:~/puppet-2.7.0# puppet agent --test --verbose
info: Loading facts in rvm_installed
info: Loading facts in rvm_installed
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could
not find class motd for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:51 on
node 10.182.15.157
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
root@puppetmaster:~/puppet-2.7.0# puppet agent --test --verbose
info: Loading facts in rvm_installed
info: Loading facts in rvm_installed
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could
not find class user::eng for 10.182.15.157 at /etc/puppet/manifests/nodes.pp:52
on node 10.182.15.157
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
--
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.