Don't expand VM folders for Chef
This commit is contained in:
parent
1b27068f5c
commit
2665231363
|
@ -74,9 +74,9 @@ module Vagrant
|
||||||
# Path exists on the host, setup the remote path
|
# Path exists on the host, setup the remote path
|
||||||
remote_path = "#{config.provisioning_path}/chef-solo-#{get_and_update_counter(:cookbooks_path)}"
|
remote_path = "#{config.provisioning_path}/chef-solo-#{get_and_update_counter(:cookbooks_path)}"
|
||||||
else
|
else
|
||||||
# Path already exists on the virtual machine. Expand it
|
# Path already exists on the virtual machine, therefore
|
||||||
# relative to where we're provisioning.
|
# just use the path given.
|
||||||
remote_path = File.expand_path(path, config.provisioning_path)
|
remote_path = path
|
||||||
end
|
end
|
||||||
|
|
||||||
# Return the result
|
# Return the result
|
||||||
|
|
Loading…
Reference in New Issue