Don't expand VM folders for Chef

This commit is contained in:
Mitchell Hashimoto 2011-08-29 00:51:07 -07:00
parent 1b27068f5c
commit 2665231363
1 changed files with 3 additions and 3 deletions

View File

@ -74,9 +74,9 @@ module Vagrant
# Path exists on the host, setup the remote path
remote_path = "#{config.provisioning_path}/chef-solo-#{get_and_update_counter(:cookbooks_path)}"
else
# Path already exists on the virtual machine. Expand it
# relative to where we're provisioning.
remote_path = File.expand_path(path, config.provisioning_path)
# Path already exists on the virtual machine, therefore
# just use the path given.
remote_path = path
end
# Return the result