]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/ganeti2/manifests/params.pp
get cluster information from hiera
[dsa-puppet.git] / modules / ganeti2 / manifests / params.pp
index 4877c41eb67567313d33b3d94a367a34e49f84d9..e9999fbc86c8a1a323a23e661d6f74b01d312e84 100644 (file)
@@ -1,6 +1,7 @@
 class ganeti2::params {
-
-       case $::cluster {
+       
+       $cluster = hiera('cluster')
+       case $luster {
                'ganeti-osuosl.debian.org': {
                        $ganeti_hosts = ['140.211.166.20/32']
                        $ganeti_priv  = ['140.211.166.20/32']