Fix verify_binary for Puppet for Windows guests.
This commit is contained in:
parent
4967623417
commit
33b4d6a63d
|
@ -150,7 +150,7 @@ 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 = "which #{binary}"
|
test_cmd = "where #{binary}"
|
||||||
if @config.binary_path
|
if @config.binary_path
|
||||||
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
|
test_cmd = "where \"#{@config.binary_path}:#{binary}\""
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue