diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb index cee8c1f48..dcf6863aa 100644 --- a/plugins/provisioners/puppet/provisioner/puppet.rb +++ b/plugins/provisioners/puppet/provisioner/puppet.rb @@ -154,9 +154,9 @@ module VagrantPlugins # This is very platform dependent. test_cmd = "sh -c 'command -v #{binary}'" if windows? - test_cmd = "where #{binary}" + test_cmd = "where.exe #{binary}" if @config.binary_path - test_cmd = "where \"#{@config.binary_path}:#{binary}\"" + test_cmd = "where.exe \"#{@config.binary_path}:#{binary}\"" end end