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:
commit
3b1a314117
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue