Merge pull request #6912 from gavioto/patch-1

Fixed an issue locating puppet binary. Issue-6876
This commit is contained in:
Seth Vargo 2016-02-03 09:45:22 -05:00
commit 2ec42ddc88
1 changed files with 2 additions and 2 deletions

View File

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