core: dup the synced folder options [GH-2134]
This commit is contained in:
parent
6512eb5cbb
commit
0b94ed44b7
|
@ -1,6 +1,9 @@
|
||||||
## 1.3.1 (unreleased)
|
## 1.3.1 (unreleased)
|
||||||
|
|
||||||
|
BUG FIXES:
|
||||||
|
|
||||||
|
- provisioners/puppet: No more "shared folders cannot be found" error.
|
||||||
|
[GH-2134]
|
||||||
|
|
||||||
## 1.3.0 (September 5, 2013)
|
## 1.3.0 (September 5, 2013)
|
||||||
|
|
||||||
|
|
|
@ -138,6 +138,7 @@ module VagrantPlugins
|
||||||
end
|
end
|
||||||
|
|
||||||
options ||= {}
|
options ||= {}
|
||||||
|
options = options.dup
|
||||||
options[:guestpath] = guestpath.to_s.gsub(/\/$/, '')
|
options[:guestpath] = guestpath.to_s.gsub(/\/$/, '')
|
||||||
options[:hostpath] = hostpath
|
options[:hostpath] = hostpath
|
||||||
|
|
||||||
|
|
|
@ -36,10 +36,8 @@ module VagrantPlugins
|
||||||
@expanded_manifests_path, manifests_guest_path, folder_opts)
|
@expanded_manifests_path, manifests_guest_path, folder_opts)
|
||||||
|
|
||||||
# Share the module paths
|
# Share the module paths
|
||||||
count = 0
|
|
||||||
@module_paths.each do |from, to|
|
@module_paths.each do |from, to|
|
||||||
root_config.vm.synced_folder(from, to, folder_opts)
|
root_config.vm.synced_folder(from, to, folder_opts)
|
||||||
count += 1
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue