From d2e80861812203d447ba2055e82e8047ad637135 Mon Sep 17 00:00:00 2001 From: gavioto20 Date: Thu, 21 Jan 2016 20:14:43 +0100 Subject: [PATCH] Fixed an issue locating puppet binary. Issue-6876 --- plugins/provisioners/puppet/provisioner/puppet.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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