puppet 4 foo
[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.lookupvar('::hostname') == 'handel' -%>
17 modulepath=/etc/puppet/modules:/etc/puppet/3rdparty/modules:/usr/share/puppet/modules
18
19 [master]
20 environments = production,staging
21 reports = store
22 config_version = cat /etc/puppet/.config-version
23 storeconfigs = true
24 thin_storeconfigs = true
25 dbadapter=mysql
26 dbuser=puppet
27 dbpassword=<%= scope.lookupvar('dbpassword') %>
28 dbserver=localhost
29
30 [production]
31 manifestdir=/srv/puppet.debian.org/stages/production/manifests
32 fileserverconfig=/srv/puppet.debian.org/stages/production/fileserver.conf
33 modulepath=/srv/puppet.debian.org/stages/production/modules:/srv/puppet.debian.org/stages/production/3rdparty/modules
34
35 [staging]
36 manifestdir=/srv/puppet.debian.org/stages/staging/manifests
37 fileserverconfig=/srv/puppet.debian.org/stages/staging/fileserver.conf
38 modulepath=/srv/puppet.debian.org/stages/staging/modules:/srv/puppet.debian.org/stages/staging/3rdparty/modules
39 <%- end -%>
40
41 [agent]
42 environments = development,testing,production,staging
43 report = true
44 configtimeout = 240
45 <%- if has_variable?("puppetversion") and @puppetversion.to_s == "3.7.2" -%>
46 stringify_facts = false
47 <%- end -%>