X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Fparams.pp;h=4e45e84d56dbd532e6d1595a7bdd9e2ca6c088c0;hb=2a93a38ee61beb5ffdab93659d32a387f95a18d1;hp=4a386ec4ce1b8f783b5c9ea84675e6b2236aca21;hpb=0186d6f54936c1d4e21b5dd0152fb90465b1e831;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/manifests/params.pp b/modules/ganeti2/manifests/params.pp index 4a386ec4c..4e45e84d5 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': { @@ -15,9 +23,9 @@ class ganeti2::params { $ganeti_priv = ['192.168.75.103/32', '192.168.75.109/32'] $drbd = true } - 'ganeti-bm.debian.org': { + '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 } default: {