X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fbuildd%2Ftemplates%2Fetc%2Fapt%2Fsources.list.d%2Fbuildd.list.erb;h=2cab475773afcde37a4e70cdea45f48aefb938ef;hb=771b43f706b011c65c75a35ff313a2ed324ede92;hp=ef9470a04332feedaae41cf84dc239c15c76494d;hpb=7fbd1fb63f9a8e87683b183e8b39bce18af59a4a;p=dsa-puppet.git diff --git a/modules/buildd/templates/etc/apt/sources.list.d/buildd.list.erb b/modules/buildd/templates/etc/apt/sources.list.d/buildd.list.erb index ef9470a0..2cab4757 100644 --- a/modules/buildd/templates/etc/apt/sources.list.d/buildd.list.erb +++ b/modules/buildd/templates/etc/apt/sources.list.d/buildd.list.erb @@ -3,15 +3,29 @@ ## USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git ## +# The buildd default repository. <% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> deb https://buildd.debian.org/apt/ squeeze main -deb https://buildd.debian.org/apt/ lenny main <% else %> deb https://buildd.debian.org/apt/ lenny main <% end %> <% if %w{alkman porpora zandonai}.include?(hostname) -%> + +# Include the current test version too. +<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> +deb https://buildd.debian.org/apt/ squeeze-proposed main +<% else %> deb https://buildd.debian.org/apt/ lenny-proposed main +<% end %> + <% elsif %w{krenek}.include?(hostname) -%> + +# The buildd bleeding edge repository. +<% if nodeinfo.has_key?('squeeze') and nodeinfo['squeeze'] %> +deb https://buildd.debian.org/apt/ squeeze-experimental main +<% else %> deb https://buildd.debian.org/apt/ lenny-experimental main <% end %> + +<% end %>