]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/buildd/templates/etc/apt/sources.list.d/buildd.list.erb
no more lenny
[dsa-puppet.git] / modules / buildd / templates / etc / apt / sources.list.d / buildd.list.erb
index 13831d0531b293c3d7f58a6d3313af8b2eddfa13..8ffb4c6f379bdefae4ec01515e5d69052b61bd5c 100644 (file)
@@ -3,4 +3,22 @@
 ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-deb https://buildd.debian.org/apt/ lenny main
+<%
+  builddsuites = %w{squeeze wheezy}
+  testingunstable = 'wheezy'
+  if builddsuites.include?(lsbdistcodename)
+    suite = lsbdistcodename
+  else
+    suite = testingunstable
+  end
+%>
+
+# The buildd default repository.
+deb https://buildd.debian.org/apt/ <%= suite %> main
+
+<% if %w{alkman porpora zandonai}.include?(hostname) -%>
+# Include the current test version too.
+deb https://buildd.debian.org/apt/ <%= suite %>-proposed main
+<% elsif %w{krenek}.include?(hostname) -%>
+deb https://buildd.debian.org/apt/ <%= suite %>-experimental main
+<% end %>