make bacula storage and director roles
[mirror/dsa-puppet.git] / modules / debian_org / templates / puppet.conf.erb
1 ##
2 ## THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 [main]
7 logdir=/var/log/puppet
8 vardir=/var/lib/puppet
9 ssldir=/var/lib/puppet/ssl
10 rundir=/var/run/puppet
11 factpath=$vardir/lib/facter
12 pluginsync=true
13 # This is the default environment for all clients
14 environment=production
15
16 <% if scope.function_has_role(['puppetmaster']) %>
17 [master]
18 environmentpath=/srv/puppet.debian.org/stages
19 cadir  = /var/lib/puppet/ssl/ca
20 storeconfigs = true
21 storeconfigs_backend = puppetdb
22 <%- end -%>
23
24 [agent]
25 environments = development,testing,production,staging
26 report = true
27 configtimeout = 240
28 <%- if has_variable?("puppetversion") and @puppetversion.to_s == "3.7.2" -%>
29 stringify_facts = false
30 <%- end -%>