lib/serverspec/setup.rb in serverspec-2.0.0 vs lib/serverspec/setup.rb in serverspec-2.0.1
- old
+ new
@@ -217,10 +217,10 @@
if find_vagrantfile
vagrant_list = `vagrant status`
list_of_vms = []
if vagrant_list != ''
vagrant_list.each_line do |line|
- if match = /([\w-]+[\s]+)(created|aborted|not created|poweroff|running|saved)[\s](\(virtualbox\)|\(vmware\))/.match(line)
+ if match = /([\w-]+[\s]+)(created|aborted|not created|poweroff|running|saved)[\s](\(virtualbox\)|\(vmware\)|\(vmware_fusion\))/.match(line)
list_of_vms << match[1].strip!
end
end
if list_of_vms.length == 1
@hostname = list_of_vms[0]