]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb
Merge branch 'master' of git+ssh://puppet.debian.org/srv/puppet.debian.org/git/dsa...
[dsa-puppet.git] / modules / ganeti2 / templates / instance-debootstrap / variants / dsa.conf.erb
index c93a1a61f41394dad22df395e6025370b4f1a61e..bea25676cd50b98122324ee3e9b3e107c2985f41 100644 (file)
@@ -1,3 +1,9 @@
-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"'
+        else 'MIRROR="http://http.debian.net/debian"'
+end
+%>
 ARCH="amd64"
 SUITE="squeeze"