projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
043cf33
)
maybe now rossini will be quiet
author
Stephen Gran
<steve@lobefin.net>
Wed, 23 May 2012 06:15:05 +0000
(07:15 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Wed, 23 May 2012 06:15:15 +0000
(07:15 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/lib/facter/cluster.rb
patch
|
blob
|
history
diff --git
a/modules/debian-org/lib/facter/cluster.rb
b/modules/debian-org/lib/facter/cluster.rb
index
f6bff1a
..
d7ef867
100644
(file)
--- a/
modules/debian-org/lib/facter/cluster.rb
+++ b/
modules/debian-org/lib/facter/cluster.rb
@@
-1,4
+1,4
@@
-if FileTest.exist?('/usr/sbin/gnt-cluster')
+if FileTest.exist?('/usr/sbin/gnt-cluster')
and FileTest.exist?('/var/lib/ganeti/config.data')
if system('/usr/sbin/gnt-cluster getmaster >/dev/null')
require 'json'
json = JSON.parse(File.read('/var/lib/ganeti/config.data'))