Merge pull request #6560 from mitchellh/sethvargo/chef_folder_names

Only append folder suffixes if we are sharing host folder paths
This commit is contained in:
Seth Vargo 2015-11-19 16:15:47 -08:00
commit cdb89a9e77
1 changed files with 3 additions and 1 deletions

View File

@ -104,7 +104,9 @@ module VagrantPlugins
end
# If we have specified a folder name to append then append it
remote_path += "/#{appended_folder}" if appended_folder
if type == :host
remote_path += "/#{appended_folder}" if appended_folder
end
# Append the result
results << [type, local_path, remote_path]