Merge pull request #6259 from philipwigg/5943-fix-puppet-verify-binary
Fix verify_binary for Puppet for Windows guests.
This commit is contained in:
commit
c200190c5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue