]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ganeti2/manifests/params.pp
prepare to add salieri to ganeti2
[dsa-puppet.git] / modules / ganeti2 / manifests / params.pp
index e9999fbc86c8a1a323a23e661d6f74b01d312e84..93414b75d166e5076fe2177b8809ce11f5fecc64 100644 (file)
@@ -1,15 +1,13 @@
 class ganeti2::params {
-       
-       $cluster = hiera('cluster')
-       case $luster {
+       case $cluster {
                'ganeti-osuosl.debian.org': {
                        $ganeti_hosts = ['140.211.166.20/32']
                        $ganeti_priv  = ['140.211.166.20/32']
                        $drbd         = false
                }
                'ganeti2.debian.org': {
-                       $ganeti_hosts = ['206.12.19.213/32', '206.12.19.217/32', '206.12.19.212/32', '206.12.19.216/32', '206.12.19.19/32']
-                       $ganeti_priv  = ['192.168.2.213/32', '192.168.2.217/32', '192.168.2.212/32', '192.168.2.216/32', '192.168.2.19/32']
+                       $ganeti_hosts = ['206.12.19.213/32', '206.12.19.217/32', '206.12.19.212/32', '206.12.19.216/32', '206.12.19.19/32', '206.12.19.20/32', '206.12.19.218/32', '206.12.19.214/32']
+                       $ganeti_priv  = ['192.168.2.213/32', '192.168.2.217/32', '192.168.2.212/32', '192.168.2.216/32', '192.168.2.19/32', '192.168.2.20/32', '192.168.2.218/32', '192.168.2.214/32']
                        $drbd         = true
                }
                'ganeti3.debian.org': {
@@ -17,6 +15,11 @@ class ganeti2::params {
                        $ganeti_priv  = ['192.168.75.103/32', '192.168.75.109/32']
                        $drbd         = true
                }
+               'ganeti.bm.debian.org': {
+                       $ganeti_hosts = ['5.153.231.240/28']
+                       $ganeti_priv  = ['172.29.121.0/24']
+                       $drbd         = false
+               }
                default: {
                        $ganeti_hosts = []
                        $ganeti_priv  = []