Dear All, I just plan want to migrate puppetmaster from 2.6 to puppet 3.0 in production, can you give me some advice about load balancer, because now im still using mongrel. Somebody have experience migrating puppet 2.6.x or 2.7.x to puppet 3.0.x on production?. Thanks. Regards, Heriyanto -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.
The Pro Puppet book has a whole chapter on setting up Puppet with a load balancer. The information pertains to Puppet 2.6, 2.7, and 3.0. The only difference in 3.0 is the requirement to specify --confdir and --vardir in your rack up config file. docs.puppetlabs.com should also have some information migrated from the redmine wiki. HTH, -Jeff On Nov 9, 2012, at 4:32 AM, shell heriyanto <shell.heriyanto@gmail.com> wrote: Dear All, I just plan want to migrate puppetmaster from 2.6 to puppet 3.0 in production, can you give me some advice about load balancer, because now im still using mongrel. Somebody have experience migrating puppet 2.6.x or 2.7.x to puppet 3.0.x on production?. Thanks. Regards, Heriyanto -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.
Hi Jeff, thanks for reply, I also read that book, its work for puppet 2.x, but now i try with puppet 3 with puppetdb, 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/site_ruby/1.8/puppet/application.rb 273 in `run_mode'' 1 /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb 5 2 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `gem_original_require'' 3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `require'' 4 config.ru 7 5 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in `instance_eval'' 6 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in `initialize'' 7 config.ru 1 in `new'' 8 config.ru 1 Regards, Heri On Sun, Nov 11, 2012 at 7:57 AM, Jeff McCune <jeff@puppetlabs.com> wrote:> The Pro Puppet book has a whole chapter on setting up Puppet with a load > balancer. The information pertains to Puppet 2.6, 2.7, and 3.0. The only > difference in 3.0 is the requirement to specify --confdir and --vardir in > your rack up config file. > > docs.puppetlabs.com should also have some information migrated from the > redmine wiki. > > HTH, > -Jeff > > On Nov 9, 2012, at 4:32 AM, shell heriyanto <shell.heriyanto@gmail.com> > wrote: > > Dear All, > > I just plan want to migrate puppetmaster from 2.6 to puppet 3.0 in > production, can you give me some advice about load balancer, because now im > still using mongrel. Somebody have experience migrating puppet 2.6.x or > 2.7.x to puppet 3.0.x on production?. Thanks. > > Regards, > Heriyanto > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > 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. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > 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. >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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 Thu, Nov 22, 2012 at 1:42 AM, shell heriyanto <shell.heriyanto@gmail.com> wrote:> Hi Jeff, thanks for reply, > I also read that book, its work for puppet 2.x, but now i try with puppet 3 > with puppetdb, > 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/site_ruby/1.8/puppet/application.rb 273 in `run_mode'' > 1 /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb 5 > 2 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in > `gem_original_require'' > 3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `require'' > 4 config.ru 7 > 5 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in > `instance_eval'' > 6 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in > `initialize'' > 7 config.ru 1 in `new'' > 8 config.ru 1When you updated to Puppet 3.0, did you also modify your config.ru file to include the new mandatory arguments of --confdir and --vardir? An example config.ru is located at: https://github.com/puppetlabs/puppet/blob/3.0.1/ext/rack/files/config.ru#L14-L18 Also, how did you upgrade to Puppet 3.0? Did you use OS native packages, rubygem packages, or install.rb from source? (Or some other installation method?) Cheers, -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.
what load balancer are you using? On Thursday, November 22, 2012 4:42:56 AM UTC-5, Heriyanto wrote:> > Hi Jeff, thanks for reply, > I also read that book, its work for puppet 2.x, but now i try with puppet > 3 with puppetdb, > 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/site_ruby/1.8/puppet/application.rb 273 in `run_mode'' > 1 /usr/lib/ruby/site_ruby/1.8/puppet/application/master.rb 5 > 2 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in > `gem_original_require'' > 3 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 36 in `require'' > 4 config.ru 7 > 5 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in > `instance_eval'' > 6 /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb 51 in > `initialize'' > 7 config.ru 1 in `new'' > 8 config.ru 1 > > Regards, > Heri > > > On Sun, Nov 11, 2012 at 7:57 AM, Jeff McCune <je...@puppetlabs.com<javascript:> > > wrote: > >> The Pro Puppet book has a whole chapter on setting up Puppet with a load >> balancer. The information pertains to Puppet 2.6, 2.7, and 3.0. The only >> difference in 3.0 is the requirement to specify --confdir and --vardir in >> your rack up config file. >> >> docs.puppetlabs.com should also have some information migrated from the >> redmine wiki. >> >> HTH, >> -Jeff >> >> On Nov 9, 2012, at 4:32 AM, shell heriyanto <shell.h...@gmail.com<javascript:>> >> wrote: >> >> Dear All, >> >> I just plan want to migrate puppetmaster from 2.6 to puppet 3.0 in >> production, can you give me some advice about load balancer, because now im >> still using mongrel. Somebody have experience migrating puppet 2.6.x or >> 2.7.x to puppet 3.0.x on production?. Thanks. >> >> Regards, >> Heriyanto >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> puppet-users...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet...@googlegroups.com<javascript:> >> . >> To unsubscribe from this group, send email to >> puppet-users...@googlegroups.com <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > >-- 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/-/5QE9IDFXru0J. 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.