X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fganeti2%2Fmanifests%2Fparams.pp;h=0c741f4a1e703bea2fc20e901cf53be084f6b4b6;hb=335a97971d69a5f69547b0c76d3251b7140c7b55;hp=0cfdaddad644dcfb0ea786678cd59d1ecfdccb62;hpb=12e070ada3f9c8e02037e8fdbcb6e709546d6426;p=dsa-puppet.git diff --git a/modules/ganeti2/manifests/params.pp b/modules/ganeti2/manifests/params.pp index 0cfdadda..0c741f4a 100644 --- a/modules/ganeti2/manifests/params.pp +++ b/modules/ganeti2/manifests/params.pp @@ -1,5 +1,13 @@ +# = 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'] @@ -20,6 +28,11 @@ class ganeti2::params { $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 = []