Merge pull request #6259 from philipwigg/5943-fix-puppet-verify-binary

Fix verify_binary for Puppet for Windows guests.
This commit is contained in:
Mitchell Hashimoto 2015-11-18 13:15:34 -08:00
commit c200190c5b
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ module VagrantPlugins
# This is very platform dependent.
test_cmd = "sh -c 'command -v #{binary}'"
if windows?
test_cmd = "which #{binary}"
test_cmd = "where #{binary}"
if @config.binary_path
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
end