Hello everyone. I''m asking this question with reluctance; but I''ve been working on this upgrade for most of the day. I had a working Kubuntu 12.04 puppet master 2.7.19 with most clients at 2.7.19 as well. I''m trying to upgrade the puppetmaster to 3.0.1 for the speed improvements. Upgrading via apt generated unwelcome errors that I need not go into here. Let''s just say that I uninstalled all ruby versions & ruby gems and started from scratch. So now I have puppet 3.0.1 installed from the puppetlabs debian repo and I thought I''d fought my way through the thicket, but I''ve hit a wall with this error When running puppet agent on the clients. I get the following error: Ruby (Rack) application could not be started *Error message:*undefined method `settings'' for Puppet:Module*Exception class:*NoMethodError*Application root:* /etc/puppet/rack/puppetmaster *Backtrace:* # File Line Location 0 /usr/lib/ruby/vendor_ruby/puppet/application.rb 273 in `run_mode'' 1 /usr/lib/ruby/vendor_ruby/puppet/application/master.rb 5 2 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb 36 in `gem_original_require'' 3 /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb 36 in `require'' 4 config.ru 13 5 /var/lib/gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb 46 in `instance_eval'' 6 /var/lib/gems/1.8/gems/rack-1.1.0/lib/rack/builder.rb 46 in `initialize'' 7 config.ru 1 in `new'' 8 config.ru My puppetmaster site and conf files are attached. I''d be under many obligations for some help. TIA, Dave -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/3BNJL8OuZVsJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On 2012-10-31 03:01, thinkwell wrote: > So now I have puppet 3.0.1 installed from the puppetlabs debian repo and> I thought I''d fought my way through the thicket, but I''ve hit a wall > with this error When running puppet agent on the clients. I get the > following error: > > > Ruby (Rack) application could not be started >Just an idea, are you using the config.ru file updated for 3.0, provided by the puppet-common package? Should be in /usr/share/puppet/ext/rack/files/config.ru or /usr/share/puppet/rack/puppetmasterd/config.ru. Andreas
I am using the new config.ru file now; thanks for the tip. Where is the puppetmaster init script? As I mentioned, I''m starting over from scratch so I deleted the init scripts from the 2.7.19 install, but installing 3.0.1 didn''t include an init script. Very strange. Are there any docs I can read regarding the configuration of 3.0.1 from soup-to-nuts? For 2.7.19 I used Turnbull''s Pro Puppet book but that not getting me going in 3.0. On Tuesday, October 30, 2012 10:15:46 PM UTC-4, Andreas Ntaflos wrote:> > On 2012-10-31 03:01, thinkwell wrote: > > So now I have puppet 3.0.1 installed from the puppetlabs debian repo > and > > I thought I''d fought my way through the thicket, but I''ve hit a wall > > with this error When running puppet agent on the clients. I get the > > following error: > > > > > > Ruby (Rack) application could not be started > > > > Just an idea, are you using the config.ru file updated for 3.0, provided > by the puppet-common package? Should be in > /usr/share/puppet/ext/rack/files/config.ru or > /usr/share/puppet/rack/puppetmasterd/config.ru. > > Andreas > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/mQl06YvHwboJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hey, hey, hey. Never mind. I had the application root wrong. Changed 2 things at once as I noticed a few other settings were wrong when I updated the config.ru file. Got the application root wrong in the process. Now I''m going again! On Wednesday, October 31, 2012 10:39:08 AM UTC-4, thinkwell wrote:> > I am using the new config.ru file now; thanks for the tip. Where is the > puppetmaster init script? As I mentioned, I''m starting over from scratch so > I deleted the init scripts from the 2.7.19 install, but installing 3.0.1 > didn''t include an init script. Very strange. > > Are there any docs I can read regarding the configuration of 3.0.1 from > soup-to-nuts? For 2.7.19 I used Turnbull''s Pro Puppet book but that not > getting me going in 3.0. > > On Tuesday, October 30, 2012 10:15:46 PM UTC-4, Andreas Ntaflos wrote: >> >> On 2012-10-31 03:01, thinkwell wrote: >> > So now I have puppet 3.0.1 installed from the puppetlabs debian repo >> and >> > I thought I''d fought my way through the thicket, but I''ve hit a wall >> > with this error When running puppet agent on the clients. I get the >> > following error: >> > >> > >> > Ruby (Rack) application could not be started >> > >> >> Just an idea, are you using the config.ru file updated for 3.0, provided >> by the puppet-common package? Should be in >> /usr/share/puppet/ext/rack/files/config.ru or >> /usr/share/puppet/rack/puppetmasterd/config.ru. >> >> Andreas >> >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/4ht0Jvu-ijQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.