From 8d71db38d458186fb5512f41eae55c0c947804ac Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Tue, 15 Mar 2011 18:39:04 +1100 Subject: Fixed #6616 - Stubbing in VMware tests on Linux --- lib/facter/virtual.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/facter') diff --git a/lib/facter/virtual.rb b/lib/facter/virtual.rb index 47c9504..cf84f75 100644 --- a/lib/facter/virtual.rb +++ b/lib/facter/virtual.rb @@ -92,7 +92,7 @@ Facter.add("virtual") do end end end - # VMware server 1.0.3 rpm places vmware-vmx in this place, other versions or platforms may not. + if FileTest.exists?("/usr/lib/vmware/bin/vmware-vmx") result = "vmware_server" end -- cgit