Puppet 3.x load balancer

124 views
Skip to first unread message

shell heriyanto

unread,
Nov 9, 2012, 5:32:44 AM11/9/12
to puppet...@googlegroups.com
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

Jeff McCune

unread,
Nov 10, 2012, 7:57:28 PM11/10/12
to puppet...@googlegroups.com
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
--
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.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.

shell heriyanto

unread,
Nov 22, 2012, 4:42:48 AM11/22/12
to puppet...@googlegroups.com
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'
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'

Regards,
Heri

Jeff McCune

unread,
Nov 26, 2012, 8:02:27 PM11/26/12
to Puppet User Discussion
When 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

DJames

unread,
Nov 28, 2012, 9:10:37 AM11/28/12
to puppet...@googlegroups.com
what load balancer are you using?
Reply all
Reply to author
Forward
0 new messages