]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Revert "get the name of a cluster node, parsing the yaml"
authorMartin Zobel-Helas <zobel@debian.org>
Sun, 1 Dec 2013 10:24:16 +0000 (11:24 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Sun, 1 Dec 2013 10:24:16 +0000 (11:24 +0100)
This reverts commit 5da4d56cd7c76181f91a91a24a762210abe77239.

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

index c8a2ac468c730f79227b9fd62ff7143061cd2a39..fea14355f152900c1a1b3dcda28424fa1f5de912 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'].keys.join(' ')
+                                       yaml['nodes'].keys.join(' ')
                                end
                        end
                end