rundir=/var/run/puppet
factpath=$vardir/lib/facter
pluginsync=true
-modulepath=/etc/puppet/modules:/etc/puppet/3rdparty/modules:/usr/share/puppet/modules
# This is the default environment for all clients
environment=production
<%- if scope.lookupvar('::hostname') == 'handel' -%>
+modulepath=/etc/puppet/modules:/etc/puppet/3rdparty/modules:/usr/share/puppet/modules
+
[master]
environments = production,staging
reports = store
dbuser=puppet
dbpassword=<%= scope.lookupvar('dbpassword') %>
dbserver=localhost
-<%- end -%>
-
-[agent]
-environments = development,testing,production,staging
-report = true
-configtimeout = 240
[production]
manifestdir=/srv/puppet.debian.org/stages/production/manifests
manifestdir=/srv/puppet.debian.org/stages/staging/manifests
fileserverconfig=/srv/puppet.debian.org/stages/staging/fileserver.conf
modulepath=/srv/puppet.debian.org/stages/staging/modules:/srv/puppet.debian.org/stages/staging/3rdparty/modules
+<%- end -%>
+
+[agent]
+environments = development,testing,production,staging
+report = true
+configtimeout = 240