X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Fparams.pp;h=0c741f4a1e703bea2fc20e901cf53be084f6b4b6;hb=335a97971d69a5f69547b0c76d3251b7140c7b55;hp=e28ce2375306a6a7cc24a9947d7e004a40b5e3a8;hpb=c8479acf2ded6507a482a75fa7389183ff9a19aa;p=dsa-puppet.git diff --git a/modules/ganeti2/manifests/params.pp b/modules/ganeti2/manifests/params.pp index e28ce237..0c741f4a 100644 --- a/modules/ganeti2/manifests/params.pp +++ b/modules/ganeti2/manifests/params.pp @@ -1,13 +1,21 @@ +# = Class: ganeti2::params +# +# Parameters for ganeti clusters +# +# == Sample Usage: +# +# include ganeti2::params +# 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'] $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,9 +25,14 @@ class ganeti2::params { } 'ganeti.bm.debian.org': { $ganeti_hosts = ['5.153.231.240/28'] - $ganeti_priv = ['172.29.121.0/24'] + $ganeti_priv = ['172.29.120.0/24'] $drbd = false } + 'ganeti.csail.debian.org': { + $ganeti_hosts = ['128.31.0.16/32', '128.31.0.46/32'] + $ganeti_priv = ['172.29.178.0/24'] + $drbd = true + } default: { $ganeti_hosts = [] $ganeti_priv = []