]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
wheezy
authorMartin Zobel-Helas <zobel@debian.org>
Fri, 18 Jan 2013 22:54:48 +0000 (23:54 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 18 Jan 2013 22:54:48 +0000 (23:54 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/ganeti2/manifests/init.pp
modules/ganeti2/templates/instance-debootstrap/variants.list.erb
modules/ganeti2/templates/instance-debootstrap/variants/dsa-wheezy.conf.erb [new file with mode: 0644]

index bacb78cf91b704722162e6e369c952cb494d6c3c..743a29d51a68ff1061c6caf0249c099a9ee7a1bc 100644 (file)
@@ -30,6 +30,9 @@ class ganeti2 {
                '/etc/ganeti/instance-debootstrap/variants/dsa.conf':
                        content => template('ganeti2/instance-debootstrap/variants/dsa.conf.erb'),
                        ;
+               '/etc/ganeti/instance-debootstrap/variants/dsa-wheezy.conf':
+                       content => template('ganeti2/instance-debootstrap/variants/dsa-wheezy.conf.erb'),
+                       ;
                '/etc/ganeti/instance-debootstrap/hooks/00-dsa-configure-networking':
                        content => template('ganeti2/instance-debootstrap/hooks/00-dsa-configure-networking.erb'),
                        mode   => '0555',
diff --git a/modules/ganeti2/templates/instance-debootstrap/variants/dsa-wheezy.conf.erb b/modules/ganeti2/templates/instance-debootstrap/variants/dsa-wheezy.conf.erb
new file mode 100644 (file)
index 0000000..6a76b9e
--- /dev/null
@@ -0,0 +1,10 @@
+<%=
+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="wheezy"