summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2011-03-15 18:39:04 +1100
committerJames Turnbull <james@lovedthanlost.net>2011-03-15 18:39:04 +1100
commit8d71db38d458186fb5512f41eae55c0c947804ac (patch)
tree3338390ce5b79047a04f78253a3c2e8f74a0b27f /lib
parent469d2a26a467c50af9f9732d7f98e8a01ecc369f (diff)
downloadfacter-8d71db38d458186fb5512f41eae55c0c947804ac.tar.gz
facter-8d71db38d458186fb5512f41eae55c0c947804ac.tar.xz
facter-8d71db38d458186fb5512f41eae55c0c947804ac.zip
Fixed #6616 - Stubbing in VMware tests on Linux
Diffstat (limited to 'lib')
-rw-r--r--lib/facter/virtual.rb2
1 files changed, 1 insertions, 1 deletions
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