ansible-role-puppet/templates/puppet.conf.j2
Colleen Murphy f0cd27f060 Add parser = future config option to puppet.conf
Enable testing puppet 3 with the future parser[1] by adding the boolean
parameter 'futureparser' to the role, which will turn on `parser =
future` in puppet.conf if set.

[1] https://docs.puppet.com/puppet/3.8/experiments_future.html

Change-Id: Ia65948ba954457d873758ed08502e844151f5cf5
2018-06-05 22:38:48 +02:00

33 lines
795 B
Django/Jinja

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
ssldir=/var/lib/puppet/ssl
rundir=/var/run/puppet
server={{ puppet_server }}
certname={{ certname }}
pluginsync=true
data_binding_terminus={{ puppet_data_binding_terminus }}
reports={{ puppet_reports }}
environmenttimeout=0
{% if puppet_basemodulepath != '' %}
basemodulepath = {{ puppet_basemodulepath }}
{% endif %}
{% if puppet_environmentpath != '' %}
environmentpath={{ puppet_environmentpath }}
{% endif %}
{% if puppet_version != '4' and futureparser == True %}
parser = future
{% endif %}
[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
[agent]
report=true
splay=true
runinterval=600