Revert "Don't expand VM folders for Chef"

This reverts commit 2665231363.

This actually reverted GH-431
This commit is contained in:
Mitchell Hashimoto 2011-08-29 21:09:57 -07:00
parent ce5d989384
commit b49553383c
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
## 0.8.7 (unreleased)
- Fix regression with remote paths from chef-solo. [GH-431]
## 0.8.6 (August 28, 2011)

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, therefore
# just use the path given.
remote_path = path
# Path already exists on the virtual machine. Expand it
# relative to where we're provisioning.
remote_path = File.expand_path(path, config.provisioning_path)
end
# Return the result