Merge pull request #2015 from flozano/master

provisioners/puppet: Puppet modules owned by root when mounted in sync'ed folder.
This commit is contained in:
Mitchell Hashimoto 2013-08-09 11:53:00 -07:00
commit 3b1a314117
1 changed files with 2 additions and 2 deletions

View File

@ -29,14 +29,14 @@ module VagrantPlugins
# Share the manifests directory with the guest
root_config.vm.synced_folder(
@expanded_manifests_path, manifests_guest_path)
@expanded_manifests_path, manifests_guest_path, { :owner => 'root' } )
# Share the module paths
count = 0
@module_paths.each do |from, to|
# Sorry for the cryptic key here, but VirtualBox has a strange limit on
# maximum size for it and its something small (around 10)
root_config.vm.synced_folder(from, to)
root_config.vm.synced_folder(from, to, { :owner => 'root' } )
count += 1
end
end