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=81189574652a4dfba2b22d864e7ff70d4334db42;hpb=7962c338466f5f53863957a55b9eb0b0d85c765d;p=mirror%2Fdsa-puppet.git diff --git a/modules/debian-org/templates/puppet.conf.erb b/modules/debian-org/templates/puppet.conf.erb index 811895746..8b7580026 100644 --- a/modules/debian-org/templates/puppet.conf.erb +++ b/modules/debian-org/templates/puppet.conf.erb @@ -14,24 +14,31 @@ pluginsync=true environment=production <%- if scope.lookupvar('::hostname') == 'handel' -%> +modulepath=/etc/puppet/modules:/etc/puppet/3rdparty/modules:/usr/share/puppet/modules + [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=Oof0shee6Athoesh +dbpassword=<%= scope.lookupvar('dbpassword') %> dbserver=localhost + +[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:/srv/puppet.debian.org/stages/staging/3rdparty/modules <%- end -%> [agent] environments = development,testing,production,staging report = true configtimeout = 240 - -[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