X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fdebian-org%2Ftemplates%2Fpuppet.conf.erb;h=d41e2a01a10a9ae47fd4da5e1293fc99087b3cc9;hb=65139996ecd9fed4bb7498e6ac9e73fdaa6920ac;hp=f4d97ac98f1d0f1e5de86e53117ecfbc0deed6da;hpb=1e341bf93cda9564ae029683e2e534182ba484a2;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/templates/puppet.conf.erb b/modules/debian-org/templates/puppet.conf.erb index f4d97ac98..d41e2a01a 100644 --- a/modules/debian-org/templates/puppet.conf.erb +++ b/modules/debian-org/templates/puppet.conf.erb @@ -10,19 +10,20 @@ 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' -%> [master] -environments = development,testing,production,staging -reports = store, http -reporturl = http://puppet-dashboard.debian.org:3000/reports/upload +environments = production,staging +reports = store config_version = cat /etc/puppet/.config-version +storeconfigs = true thin_storeconfigs = true dbadapter=mysql dbuser=puppet -dbpassword=<% scope.lookupvar('dbpassword') %> +dbpassword=<%= scope.lookupvar('dbpassword') %> dbserver=localhost <%- end -%> @@ -31,7 +32,12 @@ environments = development,testing,production,staging report = true configtimeout = 240 +[production] +manifestdir=/srv/puppet.debian.org/stages/production/manifests +fileserverconfig=/srv/puppet.debian.org/stages/production/fileserver.conf +modulepath=/srv/puppet.debian.org/stages/production/modules:/srv/puppet.debian.org/stages/production/3rdparty/modules + [staging] 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 +modulepath=/srv/puppet.debian.org/stages/staging/modules:/srv/puppet.debian.org/stages/staging/3rdparty/modules