# include ganeti2::params
#
class ganeti2::params {
+ include stdlib
+
case $::cluster {
'ganeti-osuosl.debian.org': {
$ganeti_hosts = ['140.211.166.20/32']
$ganeti_priv = ['192.168.75.103/32', '192.168.75.109/32']
$drbd = true
}
+ 'ganeti.manda.debian.org': {
+ $ganeti_hosts = getfromhash($site::allnodeinfo, 'manda-node03.debian.org', 'ipHostNumber') +
+ getfromhash($site::allnodeinfo, 'manda-node04.debian.org', 'ipHostNumber')
+ $ganeti_priv = ['172.29.182.13', '172.29.182.14']
+ $drbd = true
+ }
'ganeti2.ubc.debian.org': {
$ganeti_hosts = ['209.87.16.1/32', '209.87.16.2/32', '209.87.16.3/32', '209.87.16.4/32', '209.87.16.5/32', '209.87.16.6/32', '209.87.16.7/32', '209.87.16.8/32', '209.87.16.9/32', '209.87.16.10/32', '209.87.16.11/32', '209.87.16.12/32', '209.87.16.13/32', '209.87.16.14/32', '209.87.16.15/32', '209.87.16.16/32']
$ganeti_priv = ['172.29.42.1/32', '172.29.42.2/32', '172.29.42.3/32', '172.29.42.4/32', '172.29.42.5/32', '172.29.42.6/32', '172.29.42.7/32', '172.29.42.8/32', '172.29.42.9/32', '172.29.42.10/32', '172.29.42.11/32', '172.29.42.12/32', '172.29.42.13/32', '172.29.42.14/32', '172.29.42.15/32', '172.29.42.16/32']