]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/debian-org/templates/puppet.conf.erb
2c41258e6a5d334eb6dc66331064dbcb65568fde
[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 modulepath=/etc/puppet/modules:/etc/puppet/3rdparty/modules:/usr/share/puppet/modules
14 # This is the default environment for all clients
15 environment=production
16
17 <%- if scope.lookupvar('::hostname') == 'handel' -%>
18 [master]
19 environments = production,staging
20 reports = store, http
21 reporturl = http://puppet-dashboard.debian.org:3000/reports/upload
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 <%- end -%>
30
31 [agent]
32 environments = development,testing,production,staging
33 report = true
34 configtimeout = 240
35
36 [production]
37 manifestdir=/srv/puppet.debian.org/stages/production/manifests
38 fileserverconfig=/srv/puppet.debian.org/stages/production/fileserver.conf
39 modulepath=/srv/puppet.debian.org/stages/production/modules:/srv/puppet.debian.org/stages/production/3rdparty/modules
40
41 [staging]
42 manifestdir=/srv/puppet.debian.org/stages/staging/manifests
43 fileserverconfig=/srv/puppet.debian.org/stages/staging/fileserver.conf
44 modulepath=/srv/puppet.debian.org/stages/staging/modules:/srv/puppet.debian.org/stages/staging/3rdparty/modules