]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/debian-org/lib/facter/cluster.rb
try to get node names this way
[dsa-puppet.git] / modules / debian-org / lib / facter / cluster.rb
index fea14355f152900c1a1b3dcda28424fa1f5de912..695bfe60df466ca38317635e218bddadf6450b95 100644 (file)
@@ -10,7 +10,7 @@ if FileTest.exist?('/usr/sbin/gnt-cluster') and FileTest.exist?('/var/lib/ganeti
                                end
                                Facter.add('cluster_nodes') do
                                setcode do
-                                       yaml['nodes'].keys.join(' ')
+                                       yaml['nodes']['name']
                                end
                        end
                end