3.2.1. Configuring the Puppetmaster
3.2.1.1. Relevant Settings
For the first run of the puppetmaster, the following settings require configuration:
Note
If you used a package to install puppet, the defaults should work, but may not comply with your backup strategy. It is the upstream puppet package that cannot cater to each and every distribution or operating system it is available for, and therefore has a set of defaults that will work, but will need to be changed on most platforms.
Another setting to check is whether or not this puppetmaster is going to be the Certificate Authority
[puppetmasterd]
ca = true
The default is often set to
true.
Whether or not to use autosigning of certificates, using
[puppetca]
autosign = false
The default is to
not use autosigning. Only applicable if
puppetca is set to
true.
The following settings require review before the puppetmaster is going in production.
A list of environments using a comma seperated list, in
[puppetmasterd]
environments = development,testing,production
Whether or not to use reporting, and what reporting to use (tagmail, store, rrdgraph). To configure the types or reports that should be used by the puppetmaster, use a comma separated list without spaces, in:
[puppetmasterd]
reports = tagmail,store,rrdgraph
The location of tagmail.conf, in order to map tags you give to resources to email addresses the reports should be sent to;
[main]
tagmap = /path/to/tagmail.conf
for reporting changes applied to puppets, via email.
Create a minimal site.pp in /etc/puppet/manifests/site.pp for the puppetmaster to parse on it's initial startup. Below is an example.
#
# Example site.pp
#
# The default node
node default {
}
3.2.1.4. Service Configuration
On Red Hat based systems, use /etc/sysconfig/puppetmaster to configure the service. It has three variables set, of which PUPPETMASTER_MANIFEST needs to point to the default manifest to use. Change the default only if you are not going to use environment specific