X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fganeti2%2Ftemplates%2Finstance-debootstrap%2Fvariants%2Fdsa.conf.erb;h=61e8a200c925817449e515a8a1eedcf638703a47;hb=501e88f916b62cdc232b204457a82ee77ab089b2;hp=10141649ad2af90d2c5fb3d248c2796c811a0f27;hpb=84308798a382ca750683fb5343deaa53f5c0e944;p=dsa-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 10141649..61e8a200 100644 --- a/modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb +++ b/modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb @@ -1,3 +1,10 @@ -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"' + else 'MIRROR="http://http.debian.net/debian"' +end +%> ARCH="amd64" SUITE="squeeze"