4.8. Installing and Configurating the Puppetmaster

4.8. Installing and Configurating the Puppetmaster

This chapter is about setting up a single puppet master using the mongrel server type as described in the Chapter 2, Configuration Management Standard .

In order for your environment to be able to scale properly, you will need to go with the mongrel server type. The default webrick server type does not scale beyond ~30 managed clients, because it is a single threaded webserver whereas the mongrel server type is multithreaded. Having a multi-threaded server type is a MUST.

To install the puppetmaster, issue the command:

# yum install puppet-server rubygem-mongrel httpd

which will give you the puppetmaster, the mongrel servertype and httpd which is to be configured as a proxy load balancer.

You will then need to edit or supply the following files:

These files can all conform to a standard, and be managed bySection 4.8.3, “Configuring Puppet” for example files.

Enable the mongrel server type by adding to /etc/sysconfig/puppetmaster's PUPPETMASTER_EXTRA_OPTS setting:

--servertype=mongrel --masterport=8141

Make sure the PUPPETMASTER_MANIFEST in /etc/sysconfig/puppetmaster is set to /etc/puppet/manifests/site.pp