X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Fparams.pp;h=7740b12f03d2b50fdea7e396f6dda91f46fbb1de;hb=af61d497fc3d3112b4ec00f09ad5fce24f17dfc7;hp=e9999fbc86c8a1a323a23e661d6f74b01d312e84;hpb=33360bb9cae387e8d38fbc3645031cdff09d0f44;p=mirror%2Fdsa-puppet.git diff --git a/modules/ganeti2/manifests/params.pp b/modules/ganeti2/manifests/params.pp index e9999fbc8..7740b12f0 100644 --- a/modules/ganeti2/manifests/params.pp +++ b/modules/ganeti2/manifests/params.pp @@ -1,15 +1,21 @@ +# = Class: ganeti2::params +# +# Parameters for ganeti clusters +# +# == Sample Usage: +# +# include ganeti2::params +# class ganeti2::params { - - $cluster = hiera('cluster') - case $luster { + 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,6 +23,31 @@ class ganeti2::params { $ganeti_priv = ['192.168.75.103/32', '192.168.75.109/32'] $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'] + $drbd = false + } + 'ganeti.bm.debian.org': { + $ganeti_hosts = ['5.153.231.240/28'] + $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 + } + 'ganeti.grnet.debian.org': { + $ganeti_hosts = ['194.177.211.195/32', '194.177.211.196/32'] + $ganeti_priv = ['172.29.175.0/24'] + $drbd = true + } + 'ganeti-conova.debian.org': { + $ganeti_hosts = ['217.196.149.227/32', '217.196.149.228/32'] + $ganeti_priv = ['172.29.184.11/32', '172.29.184.12/32'] + $drbd = true + } default: { $ganeti_hosts = [] $ganeti_priv = []