Merge pull request #6912 from gavioto/patch-1
Fixed an issue locating puppet binary. Issue-6876
This commit is contained in:
commit
2ec42ddc88
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue