system-config/modules/openstack_project/templates/puppet.conf.erb
Clint Byrum de6b01226c Prevent puppet certname with mixed-case hostnames
Puppet requires that certname be all lower case. Sometimes systems will
have mixed case in their FQDN, but the lower case should be equivalent
for most if not all cases.

Note that this is discussed upstream in puppet's bug trackers here:

http://projects.puppetlabs.com/issues/1168

and here:

https://tickets.puppetlabs.com/browse/PUP-2551

Change-Id: I91aae733bf6c82abc632cac0726b129de88d9b34
2015-05-07 10:18:50 -07:00

29 lines
637 B
Plaintext

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