X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Ftemplates%2Fpuppet.conf.erb;h=8b7580026b859219837a0973eba81af6ec93b3fd;hb=7f69dbd9fd772b61783ed21262af68f714fb0246;hp=d41e2a01a10a9ae47fd4da5e1293fc99087b3cc9;hpb=43c810344fe16f9decdeffa3a0a46b47e6d472b5;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/templates/puppet.conf.erb b/modules/debian-org/templates/puppet.conf.erb index d41e2a01a..8b7580026 100644 --- a/modules/debian-org/templates/puppet.conf.erb +++ b/modules/debian-org/templates/puppet.conf.erb @@ -10,11 +10,12 @@ ssldir=/var/lib/puppet/ssl 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 @@ -25,12 +26,6 @@ dbadapter=mysql 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 @@ -41,3 +36,9 @@ modulepath=/srv/puppet.debian.org/stages/production/modules:/srv/puppet.debian.o 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