add sso.debian.org
[mirror/dsa-puppet.git] / modules / ganeti2 / templates / instance-debootstrap / variants / dsa.conf.erb
index c93a1a6..affb973 100644 (file)
@@ -1,3 +1,11 @@
-MIRROR="http://http.debian.net/debian"
+<%=
+case scope.lookupvar('::cluster')
+        when "ganeti2.debian.org" then 'MIRROR="http://mirror-ubc.debian.org/debian"'
+        when "ganeti-osuosl.debian.org" then 'MIRROR="http://debian.osuosl.org/debian"'
+       when "ganeti3.debian.org" then 'MIRROR="http://mirror.ayous.org/debian"'
+       when "ganeti-bytemark.debian.org" then 'MIRROR="http://mirror.bytemark.co.uk/debian"'
+        else 'MIRROR="http://http.debian.net/debian"'
+end
+%>
 ARCH="amd64"
 SUITE="squeeze"