Revert "try to get node names this way"
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 1 Dec 2013 13:35:59 +0000 (14:35 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Sun, 1 Dec 2013 13:35:59 +0000 (14:35 +0100)
This reverts commit 39cb899d8cda11d87a39fa239493fdaa639c94d2.

modules/debian-org/lib/facter/cluster.rb

index 695bfe6..fea1435 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']['name']
+                                       yaml['nodes'].keys.join(' ')
                                end
                        end
                end