Fix issue with Chef solo not using Pathname

This commit is contained in:
Mitchell Hashimoto 2013-04-02 16:33:14 -07:00
parent 90f18c41be
commit 64e360814c
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ module VagrantPlugins
# Get the expanded path that the host path points to
local_path = File.expand_path(path, @machine.env.root_path)
if local_path.exist?
if File.exist?(local_path)
# Path exists on the host, setup the remote path
remote_path = "#{@config.provisioning_path}/chef-solo-#{get_and_update_counter(:cookbooks_path)}"
else