Hi all, I''m getting very close to the next release of Puppet, and I need help making sure it''s as bug-free as possible. The major changes in this version relate to Rails (and thus resource collect/export) and transaction internals. If you are currently using Puppet''s rails support, you''re going to have to migrate manually, unfortunately (or just remove your client config db, since it''s just a cache and will get regenerated), since the database was completely redesigned by Blake Barnett. The transactional changes are entirely internal, so you shouldn''t notice any difference in behaviour, but of particular interest are whether the relationships behave correctly -- whether resources are in the right order, whether services get restarted correctly, etc. If you have time, please check the code out of svn and try to use it. If you have any problems, please open tickets[1] for them. I have a lot of test code, but there''s just no way for me to test Puppet enough to provide bug-free releases without some help verifying it works with your running configurations. Even running it in --noop mode would be really useful. To use the code in SVN, check the code out: mkdir -p ~/svn; cd ~/svn svn co https://reductivelabs.com/svn/puppet/trunk puppet Then tell ruby to use that code: export RUBYLIB=~/svn/puppet/lib Then start your daemons as normal. Note that if you use sudo (as I do) it will discard the RUBYLIB setting, so you need to either modify your sudoers file to allow that variable, or you need to start the daemons using ruby directly, e.g.: sudo ruby -I$RUBYLIB ~/svn/puppet/bin/puppetd ... If you have any questions or problems, do not hesitate to bring them up. I hope to put the next release out next week (probably as 0.22.0, since Rails compatibility is broken). I''ll still be making a couple of smaller changes, but the overall functionality is now in place and nearly all of the bugs scheduled for this release are now fixed. Cheers, Luke 1 - https://reductivelabs.com/cgi-bin/puppet.cgi/newticket -- This space intentionally has nothing but text explaining why this space has nothing but text explaining that this space would otherwise have been left blank, and would otherwise have been left blank. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
[:~/svn]$ ruby -I$RUBYLIB ~/svn/puppet/bin/puppetmasterd --noop /etc/puppet/puppetmasterd.conf /usr/local/.aqadmin/home/svn/puppet/lib/puppet/rails.rb:137: undefined method `rails?'' for #<Puppet::Feature:0xb7c2c7e8 @path="puppet/feature"> (NoMethodError) from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/parser/interpreter.rb:7:in `require'' from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/parser/interpreter.rb:7 from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server/master.rb:3:in `require'' from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server/master.rb:3 from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server.rb:211:in `require'' from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server.rb:211 from /usr/local/.aqadmin/home/svn/puppet/lib/puppet.rb:393:in `require'' from /usr/local/.aqadmin/home/svn/puppet/lib/puppet.rb:393 from /usr/local/.aqadmin/home/svn/puppet/bin/puppetmasterd:84:in `require'' from /usr/local/.aqadmin/home/svn/puppet/bin/puppetmasterd:84 [:~/svn]$ seems that without rails it refuse to run ? Regards, Ghislain. _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Dec 29, 2006, at 2:51 AM, ADNETGhislain wrote:> [:~/svn]$ ruby -I$RUBYLIB ~/svn/puppet/bin/puppetmasterd --noop / > etc/puppet/puppetmasterd.conf > /usr/local/.aqadmin/home/svn/puppet/lib/puppet/rails.rb:137: > undefined method `rails?'' for #<Puppet::Feature:0xb7c2c7e8 > @path="puppet/feature"> (NoMethodError) > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/parser/ > interpreter.rb:7:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/parser/ > interpreter.rb:7 > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server/ > master.rb:3:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server/ > master.rb:3 > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/ > server.rb:211:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/ > server.rb:211 > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet.rb: > 393:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet.rb:393 > from /usr/local/.aqadmin/home/svn/puppet/bin/puppetmasterd: > 84:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/bin/puppetmasterd:84 > [:~/svn]$ > > > seems that without rails it refuse to run ?Hmm, I''m able to start it just fine on machines without rails, but I''ll see what I can do to reproduce this. Thanks. -- If you would be a real seeker after truth, it is necessary that at least once in your life you doubt, as far as possible, all things. -- Rene Descartes --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On Dec 29, 2006, at 2:51 AM, ADNETGhislain wrote:> [:~/svn]$ ruby -I$RUBYLIB ~/svn/puppet/bin/puppetmasterd --noop / > etc/puppet/puppetmasterd.conf > /usr/local/.aqadmin/home/svn/puppet/lib/puppet/rails.rb:137: > undefined method `rails?'' for #<Puppet::Feature:0xb7c2c7e8 > @path="puppet/feature"> (NoMethodError) > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/parser/ > interpreter.rb:7:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/parser/ > interpreter.rb:7 > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server/ > master.rb:3:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/server/ > master.rb:3 > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/ > server.rb:211:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet/ > server.rb:211 > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet.rb: > 393:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/lib/puppet.rb:393 > from /usr/local/.aqadmin/home/svn/puppet/bin/puppetmasterd: > 84:in `require'' > from /usr/local/.aqadmin/home/svn/puppet/bin/puppetmasterd:84 > [:~/svn]$ > > > seems that without rails it refuse to run ?Can you try this again after an svn update? I''ve modified features so that they should never throw an exception, even if the feature is completely undefined. I don''t understand why you''re getting this error, since I''ve been unable to reproduce it, but this should at least make the error go away. -- Venter''s First Law: Discoveries made in a field by some one from another discipline will always be upsetting to the majority of those inside. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com