Skip to content

Instantly share code, notes, and snippets.

@thommay
Created March 9, 2009 18:42
Show Gist options
  • Save thommay/76411 to your computer and use it in GitHub Desktop.
Save thommay/76411 to your computer and use it in GitHub Desktop.
[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath = $vardir/lib/facter
pluginsource = puppet:///plugins
sendmail = /usr/sbin/sendmail
[puppetd]
server = <%= puppetserver %>
report = true
splay = true
pluginsync=true
environment = <%= environment %>
environments = development,staging,production
#listen = true
diff_args = -u
catalog_format = marshal
<% if defined?(@puppetmaster) -%>
[puppetmasterd]
# Make sure all log messages are sent to the right directory
# This directory must be writable by the puppet user
logdir=/var/log/puppet
vardir=<%= puppet_root %>/var
rundir=/var/run/puppet
ssldir=/etc/puppet/ssl
templatedir=<%= puppet_root %>/templates/common
manifestdir=<%= puppet_root %>/manifests
libdir=<%= puppet_root %>/lib
modulepath=<%= puppet_root %>/services:<%= puppet_root %>/systems
reports = store,tagmail
storeconfigs = <%= puppet_storeconfigs %>
dbadapter = <%= puppet_dbadapter %>
dbmigrate = true
<% if defined?(@puppet_dbpass) -%>
dbpassword = <%= puppet_dbpass %>
<% end -%>
dbuser = puppet
dbname = puppet
dblocation = $vardir/store.sqlite
environments = development,staging,production
pluginsync = true
pluginsource = puppet:///plugins
factpath = $vardir/lib/facter
certname = <%= puppetserver %>
server = <%= puppetserver %>
[staging]
templatedir=<%= puppet_root %>/templates/staging:<%= puppet_root %>/templates/common
[development]
templatedir=<%= puppet_root %>/templates/development:<%= puppet_root %>/templates/common
[puppetca]
ssldir=/etc/puppet/ssl
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment