Skip to content

Instantly share code, notes, and snippets.

@gary4est
Created December 23, 2011 18:30
Show Gist options
  • Save gary4est/1515005 to your computer and use it in GitHub Desktop.
Save gary4est/1515005 to your computer and use it in GitHub Desktop.
puppet.conf
Puppet Master /etc/puppet.conf
[main]
# The Puppet log directory.
# The default value is '$vardir/log'.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
# Where SSL certificates are kept.
# The default value is '$confdir/ssl'.
ssldir = $vardir/ssl
pluginsync = true
[agent]
# The file in which puppetd stores a list of the classes
# associated with the retrieved configuratiion. Can be loaded in
# the separate ``puppet`` executable using the ``--loadclasses``
# option.
# The default value is '$confdir/classes.txt'.
classfile = $vardir/classes.txt
# Where puppetd caches the local configuration. An
# extension indicating the cache format is added automatically.
# The default value is '$confdir/localconfig'.
localconfig = $vardir/localconfig
listen = true
report = false
environment = production
server = puppetmaster.example.com
[master]
environment = production
manifest = $confdir/env/$environment/manifests/site.pp
manifests = $confdir/env/$environment/manifests
modulepath = $confdir/env/$environment/modules
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
verbose = true
dns_alt_names = puppet,puppet.int.example.com,puppet01
######################################################
Puppet Clients /etc/puppet.conf
[main]
logdir = /var/log/puppet
rundir = /var/run/puppet
vardir = /var/lib/puppet
ssldir = $vardir/ssl
pluginsync = true
report = true
server = puppet
environment = development
certname = client01.int.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment