Hi, My organization is going to set up puppet soon. We have thousands servers and desktops. Would WEBrick work well for this? Or should we use Passenger? Thanks, Haiyan -- 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 03/23/2011 11:25 AM, hyzhang wrote:> Hi, > > My organization is going to set up puppet soon. We have thousands > servers and desktops. Would WEBrick work well for this? Or should we > use Passenger? > > Thanks, > Haiyan >WEBrick will not work - look into Passenger or Mongrel setup with some frontend proxy like Nginx. -- Cody Robertson 1-800-859-8803 ext. 5 -- 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.
We use puppet running with apache and passenger on CentOS 5.x. We manage about 700 boxes with no problems. Apache was the stock install using yum. We built ruby 1.8.7 patchlevel 334 from source. We built RubyGems from source, and installed the requisite gems. We built passenger from source, and followed the online documentation to get it running (piece of cake!). I can recommend this setup. ~Charles~ On Wed, Mar 23, 2011 at 10:25 AM, hyzhang <hyzhang@jcvi.org> wrote:> Hi, > > My organization is going to set up puppet soon. We have thousands > servers and desktops. Would WEBrick work well for this? Or should we > use Passenger? > > Thanks, > Haiyan > > -- > 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.
Thanks everybody for the input. Thank you Charles for the information. We also use apache on CentOS 5.x. I find some documentation from the link below: https://github.com/puppetlabs/puppet/tree/master/ext/rack for Puppet 0.25.x and 2.6.x. But the above link does not seem very detailed. Do you also need to install rack? Is it sufficient just following the instructions from this link or is there a better documentation somewhere else? Thanks, -Haiyan On Mar 23, 5:20 pm, Charles Johnson <gm.johns...@gmail.com> wrote:> We use puppet running with apache and passenger on CentOS 5.x. We manage > about 700 boxes with no problems. > > Apache was the stock install using yum. > > We built ruby 1.8.7 patchlevel 334 from source. > > We built RubyGems from source, and installed the requisite gems. > > We built passenger from source, and followed the online documentation to get > it running (piece of cake!). > > I can recommend this setup. > > ~Charles~ > > On Wed, Mar 23, 2011 at 10:25 AM, hyzhang <hyzh...@jcvi.org> wrote: > > Hi, > > > My organization is going to set up puppet soon. We have thousands > > servers and desktops. Would WEBrick work well for this? Or should we > > use Passenger? > > > Thanks, > > Haiyan > > > -- > > 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 03/23/2011 06:00 PM, hyzhang wrote:> Thanks everybody for the input. Thank you Charles for the information. > We also use apache on CentOS 5.x. > > I find some documentation from the link below: > https://github.com/puppetlabs/puppet/tree/master/ext/rack for Puppet > 0.25.x and 2.6.x. > But the above link does not seem very detailed. Do you also need to > install rack? Is it sufficient just following the instructions from > this link or is there a better documentation somewhere else? > > Thanks, > -Haiyan > > > On Mar 23, 5:20 pm, Charles Johnson<gm.johns...@gmail.com> wrote: >> We use puppet running with apache and passenger on CentOS 5.x. We manage >> about 700 boxes with no problems. >> >> Apache was the stock install using yum. >> >> We built ruby 1.8.7 patchlevel 334 from source. >> >> We built RubyGems from source, and installed the requisite gems. >> >> We built passenger from source, and followed the online documentation to get >> it running (piece of cake!). >> >> I can recommend this setup. >> >> ~Charles~ >> >> On Wed, Mar 23, 2011 at 10:25 AM, hyzhang<hyzh...@jcvi.org> wrote: >>> Hi, >>> My organization is going to set up puppet soon. We have thousands >>> servers and desktops. Would WEBrick work well for this? Or should we >>> use Passenger? >>> Thanks, >>> Haiyan >>> -- >>> 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.Check http://projects.puppetlabs.com/projects/1/wiki/Using_Mongrel however I''m not sure how dated. There are passenger instructions near the bottom (or use Mongrel). -- Cody Robertson 1-800-859-8803 ext. 5 -- 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 Mar 23, 2011, at 8:25 AM, hyzhang wrote:> Hi, > > My organization is going to set up puppet soon. We have thousands > servers and desktops. Would WEBrick work well for this? Or should we > use Passenger?Just to make the issues clear, in my experience, depending on your manifests, Webrick will be able to serve from 2-25 clients well per hour, and how well it scales depends mostly on the speed of the slowest clients, and the slowest connections. -- 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.
I would suggest using Passenger. I am using CentOS 5.5 and the setup is as follows: Configure EPEL yum repository http://dev.antoinesolutions.com/epel-repository for the RPM installer, or you can manually create an epel.repo file in /etc/yum.repos.d After the EPEL yum repo is set up run: yum -y install rubygems ruby-devel httpd-devel curl-devel zlib-devel gcc-devel openssl-devel mod_ssl (This should also install any dependencies you need) Install facter, puppet, rack and passenger: gem install facter gem install puppet gem install rack gem install passenger My versions of each are: facter 1.5.8 puppet 2.6.6 rack 1.0.0 passenger 3.0.5 After you have installed your gems run: passenger-install-apache2-module and follow the instructions on screen After this step you can just finish following the instructions found here: http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger Hope this helps. On Mar 23, 11:25 am, hyzhang <hyzh...@jcvi.org> wrote:> Hi, > > My organization is going to set up puppet soon. We have thousands > servers and desktops. Would WEBrick work well for this? Or should we > use Passenger? > > Thanks, > Haiyan-- 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.
Thank you Miroslaw. I followed instructions from the link. In Configure Apache section, there is cp puppetmaster.conf /etc/httpd/conf.d/ Where is the puppetmaster.conf file? I can not find it anywhere. Thanks, -Haiyan On Mar 24, 3:46 pm, Miroslaw Horbal <miros...@gmail.com> wrote:> I would suggest usingPassenger. I am using CentOS 5.5 and the setup > is as follows: > Configure EPEL yum repositoryhttp://dev.antoinesolutions.com/epel-repository > for the RPM installer, or you can manually create an epel.repo file > in /etc/yum.repos.d > > After the EPEL yum repo is set up run: > yum -y install rubygems ruby-devel httpd-devel curl-devel zlib-devel > gcc-devel openssl-devel mod_ssl (This should also install any > dependencies you need) > > Install facter, puppet, rack andpassenger: > gem install facter > gem install puppet > gem install rack > gem installpassenger > > My versions of each are: > facter 1.5.8 > puppet 2.6.6 > rack 1.0.0passenger3.0.5 > > After you have installed your gems run:passenger-install-apache2-module and follow the instructions on screen > > After this step you can just finish following the instructions found > here:http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger > > Hope this helps. > On Mar 23, 11:25 am, hyzhang <hyzh...@jcvi.org> wrote: > > > Hi, > > > My organization is going to set up puppet soon. We have thousands > > servers and desktops. WouldWEBrickwork well for this? Or should we > > usePassenger? > > > Thanks, > > Haiyan-- 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.
Can someone please help me out here. I am stuck here. So I installed everything. Then followed the instruction to set up rest from this link: http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger On "Configure Apache section" for RHEL5, there is cp puppetmaster.conf /etc/httpd/conf.d/ (see below for file contents) vim /etc/httpd/conf.d/puppetmaster.conf (replace hostnames with corrent values) .... So can someone tell me where I can find the puppetmaster.conf file? Is it same as the apache2.conf file from this link https://github.com/puppetlabs/puppet/tree/master/ext/rack/files Thanks, -Haiyan On Mar 29, 11:31 am, hyzhang <hyzh...@jcvi.org> wrote:> Thank you Miroslaw. I followed instructions from the link. In > Configure Apache section, there is > > cp puppetmaster.conf /etc/httpd/conf.d/ > > Where is the puppetmaster.conf file? I can not find it anywhere. > > Thanks, > -Haiyan > > On Mar 24, 3:46 pm, Miroslaw Horbal <miros...@gmail.com> wrote: > > > I would suggest usingPassenger. I am using CentOS 5.5 and the setup > > is as follows: > > Configure EPEL yum repositoryhttp://dev.antoinesolutions.com/epel-repository > > for the RPM installer, or you can manually create an epel.repo file > > in /etc/yum.repos.d > > > After the EPEL yum repo is set up run: > > yum -y install rubygems ruby-devel httpd-devel curl-devel zlib-devel > > gcc-devel openssl-devel mod_ssl (This should also install any > > dependencies you need) > > > Install facter, puppet, rack andpassenger: > > gem install facter > > gem install puppet > > gem install rack > > gem installpassenger > > > My versions of each are: > > facter 1.5.8 > > puppet 2.6.6 > > rack 1.0.0passenger3.0.5 > > > After you have installed your gems run:passenger-install-apache2-module and follow the instructions on screen > > > After this step you can just finish following the instructions found > > here:http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger > > > Hope this helps. > > On Mar 23, 11:25 am, hyzhang <hyzh...@jcvi.org> wrote: > > > > Hi, > > > > My organization is going to set up puppet soon. We have thousands > > > servers and desktops. WouldWEBrickwork well for this? Or should we > > > usePassenger? > > > > Thanks, > > > Haiyan-- 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 Mar 30, 2011, at 8:25 AM, hyzhang wrote:> Can someone please help me out here. I am stuck here. So I installed > everything. Then followed the instruction to set up rest from this > link: > http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger > > On "Configure Apache section" for RHEL5, there is > > cp puppetmaster.conf /etc/httpd/conf.d/ (see below for file contents) > vim /etc/httpd/conf.d/puppetmaster.conf (replace hostnames with > corrent values) > .... > > So can someone tell me where I can find the puppetmaster.conf file? Is > it same as the apache2.conf file from this link > https://github.com/puppetlabs/puppet/tree/master/ext/rack/filesYes, but you need to make a few changes. You need to set the location of SSLCertificateFile and SSLCertificateKeyFile to be correct. Make sure your config.ru is owned by puppet. If you''re testing with very few clients, PassengerMaxPoolSize doesn''t matter much. Once you have a lot of clients, here''s some general tuning advice: PassengerMaxPoolSize will decide how many instances you the puppetmaster can run. Since it''s single-threaded, (or at least you can pretend it is from a performance standpoint) you''ll want more of these than you have CPU cores. (Assuming you want to let puppetmaster use all the CPU) Also, I''ve seen each of these take between 50MB of ram, to 100MB of RAM, so make sure you don''t run out of RAM.> On Mar 29, 11:31 am, hyzhang <hyzh...@jcvi.org> wrote: >> Thank you Miroslaw. I followed instructions from the link. In >> Configure Apache section, there is >> >> cp puppetmaster.conf /etc/httpd/conf.d/ >> >> Where is the puppetmaster.conf file? I can not find it anywhere. >> >> Thanks, >> -Haiyan >> >> On Mar 24, 3:46 pm, Miroslaw Horbal <miros...@gmail.com> wrote: >> >>> I would suggest usingPassenger. I am using CentOS 5.5 and the setup >>> is as follows: >>> Configure EPEL yum repositoryhttp://dev.antoinesolutions.com/epel-repository >>> for the RPM installer, or you can manually create an epel.repo file >>> in /etc/yum.repos.d >> >>> After the EPEL yum repo is set up run: >>> yum -y install rubygems ruby-devel httpd-devel curl-devel zlib-devel >>> gcc-devel openssl-devel mod_ssl (This should also install any >>> dependencies you need) >> >>> Install facter, puppet, rack andpassenger: >>> gem install facter >>> gem install puppet >>> gem install rack >>> gem installpassenger >> >>> My versions of each are: >>> facter 1.5.8 >>> puppet 2.6.6 >>> rack 1.0.0passenger3.0.5 >> >>> After you have installed your gems run:passenger-install-apache2-module and follow the instructions on screen >> >>> After this step you can just finish following the instructions found >>> here:http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger >> >>> Hope this helps. >>> On Mar 23, 11:25 am, hyzhang <hyzh...@jcvi.org> wrote: >> >>>> Hi, >> >>>> My organization is going to set up puppet soon. We have thousands >>>> servers and desktops. WouldWEBrickwork well for this? Or should we >>>> usePassenger? >> >>>> Thanks, >>>> Haiyan > > -- > 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.