X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Ftemplates%2Finstance-debootstrap%2Fvariants%2Fdsa.conf.erb;h=affb9732f5ee01d2ff576a79825cf9bf629daabe;hb=843603a55c2c23ca533da697e1fc1e53ecd76f84;hp=10141649ad2af90d2c5fb3d248c2796c811a0f27;hpb=84308798a382ca750683fb5343deaa53f5c0e944;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb b/modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb index 10141649a..affb9732f 100644 --- a/modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb +++ b/modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb @@ -1,3 +1,11 @@ -MIRROR="http://mirror-ubc.debian.org/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"