]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ganeti2/manifests/params.pp
fix typo
[dsa-puppet.git] / modules / ganeti2 / manifests / params.pp
index 8c64e56981a520f05a7f755261168dcb2fc75597..355ab54fe4d75d4668e6afa233913dccfbd2cc64 100644 (file)
@@ -1,9 +1,15 @@
 class ganeti2::params {
-
-       case $::cluster {
+       
+       $cluster = hiera('cluster')
+       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']
-                       $ganeti_priv  = ['192.168.2.213/32', '192.168.2.217/32', '192.168.2.212/32', '192.168.2.216/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']
+                       $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']
                        $drbd         = true
                }
                'ganeti3.debian.org': {