From 33b4d6a63d9275ce9b3156883cac32551a79038d Mon Sep 17 00:00:00 2001 From: Philip Wigg Date: Fri, 11 Sep 2015 20:06:21 +0100 Subject: [PATCH] Fix verify_binary for Puppet for Windows guests. --- plugins/provisioners/puppet/provisioner/puppet.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb index f1987dbd5..6cd8716aa 100644 --- a/plugins/provisioners/puppet/provisioner/puppet.rb +++ b/plugins/provisioners/puppet/provisioner/puppet.rb @@ -150,7 +150,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