]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ganeti2/manifests/params.pp
do not override the cluster facter with hiera data
[dsa-puppet.git] / modules / ganeti2 / manifests / params.pp
index 4877c41eb67567313d33b3d94a367a34e49f84d9..4a386ec4ce1b8f783b5c9ea84675e6b2236aca21 100644 (file)
@@ -1,6 +1,5 @@
 class ganeti2::params {
-
-       case $::cluster {
+       case $cluster {
                'ganeti-osuosl.debian.org': {
                        $ganeti_hosts = ['140.211.166.20/32']
                        $ganeti_priv  = ['140.211.166.20/32']
@@ -16,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  = []