Clark Boylan fa38169bdd Make puppet not fail when puppetdb is dead
By default puppet will fail to run if the puppetdb is not available.
This introduces some chicken and egg problems associated with getting
things working again if you expect puppet to do that for you. Mark
puppetdb write failures as soft failures instead allowing puppet to run
even when puppetdb is not up.

See
http://docs.puppetlabs.com/puppetdb/1.6/connect_puppet_master.html#edit-puppetdbconf
for more info. Note you cannot use storeconfigs with this option set so
store_configs options are removed from the puppet master config.

Change-Id: I8c2023eac11fecaa3815741450f176ad16ede729
2014-04-25 14:03:56 -07:00

26 lines
653 B
Plaintext

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
factpath=$vardir/lib/facter
templatedir=$confdir/templates
server=ci-puppetmaster.openstack.org
certname=<%= @certname %>
pluginsync=true
[master]
# These are needed when the puppetmaster is run by passenger
# and can safely be removed if webrick is used.
ssl_client_header = SSL_CLIENT_S_DN
ssl_client_verify_header = SSL_CLIENT_VERIFY
manifestdir=/opt/config/$environment/manifests
modulepath=/opt/config/$environment/modules:/etc/puppet/modules
manifest=$manifestdir/site.pp
reports=store,puppetdb
[agent]
report=true
splay=true
runinterval=600