From: Martin Zobel-Helas Date: Sun, 1 Dec 2013 13:35:59 +0000 (+0100) Subject: Revert "try to get node names this way" X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f1965deb432304e45a773ad38b832ce8fd8a7f2b;p=mirror%2Fdsa-puppet.git Revert "try to get node names this way" This reverts commit 39cb899d8cda11d87a39fa239493fdaa639c94d2. --- diff --git a/modules/debian-org/lib/facter/cluster.rb b/modules/debian-org/lib/facter/cluster.rb index 695bfe60d..fea14355f 100644 --- a/modules/debian-org/lib/facter/cluster.rb +++ b/modules/debian-org/lib/facter/cluster.rb @@ -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