]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
add ganeti-bytemark
authorMartin Zobel-Helas <zobel@debian.org>
Fri, 12 Apr 2013 12:25:16 +0000 (14:25 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Fri, 12 Apr 2013 12:25:16 +0000 (14:25 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
hieradata/clusters/ganeti-bytemark.debian.org.yaml [new file with mode: 0644]
modules/ganeti2/manifests/params.pp
modules/ganeti2/templates/instance-debootstrap/variants/dsa-wheezy.conf.erb
modules/ganeti2/templates/instance-debootstrap/variants/dsa.conf.erb

diff --git a/hieradata/clusters/ganeti-bytemark.debian.org.yaml b/hieradata/clusters/ganeti-bytemark.debian.org.yaml
new file mode 100644 (file)
index 0000000..ce906c3
--- /dev/null
@@ -0,0 +1,4 @@
+---
+nodes:
+  - 'bm-bl1.debian.org'
+  - 'bm-bl9.debian.org'
index df413db94efefd06f83b22daa237a4058bdc17c5..29a5d011250682aa956c2a72f43e148cc43f2198 100644 (file)
@@ -17,6 +17,11 @@ class ganeti2::params {
                        $ganeti_priv  = ['192.168.75.103/32', '192.168.75.109/32']
                        $drbd         = true
                }
+               'ganeti-bytemark.debian.org': {
+                       $ganeti_hosts = ['5.153.231.1/32', '5.153.231.9/32']
+                       $ganeti_priv  = ['192.168.231.1/32', '192.168.231.9/32']
+                       $drbd         = false
+               }
                default: {
                        $ganeti_hosts = []
                        $ganeti_priv  = []
index 6a76b9ee17dbd7628a72681e70b4570decaa7710..26b6ff9a9167e3fa39d285101772dde475a10cf1 100644 (file)
@@ -3,6 +3,7 @@ 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
 %>
index 61e8a200c925817449e515a8a1eedcf638703a47..affb9732f5ee01d2ff576a79825cf9bf629daabe 100644 (file)
@@ -3,6 +3,7 @@ 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
 %>