From d5982160c1a8074255b3bf397c88553e79969e5b Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Wed, 23 May 2012 07:15:05 +0100 Subject: [PATCH] maybe now rossini will be quiet Signed-off-by: Stephen Gran --- modules/debian-org/lib/facter/cluster.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/debian-org/lib/facter/cluster.rb b/modules/debian-org/lib/facter/cluster.rb index f6bff1a5b..d7ef867d0 100644 --- 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')) -- 2.20.1