system-config/modules/openstack_project/templates/puppet.conf.erb
Spencer Krum c9dd65779f Add puppet apply settings to puppet.conf
We need to exist for a period of time with both agent and apply being
operational so that we can test things appropriately.

This moves agent specific settings to the [agent] section and adds a
[user] section which is used to control puppet apply.

As part of this, we need to add a production environment to all of our
nodes. Doing this in this way will also cover the current puppetmaster,
since puppetmaster is a puppet client.

Change-Id: I550c474d1c51c5795f745630fb91ee8cc1a55e36
2015-11-19 13:25:37 -05:00

32 lines
693 B
Plaintext

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
basemodulepath=/etc/puppet/modules
environmentpath = /etc/puppet/environments
data_binding_terminus = none
[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
reports=store,puppetdb
environmenttimeout = 0
<% if @ca_server -%>
ca = false
ca_server = <%= @ca_server %>
<% end -%>
[agent]
report=true
splay=true
runinterval=600
server=<%= @puppetmaster_server %>
certname=<%= @certname.downcase %>
pluginsync=true
[user]
reports=puppetdb_file