From 521a5c5829dca6d5975b6cc7c030c2c5ea409239 Mon Sep 17 00:00:00 2001 From: "Francisco A. Lozano" Date: Thu, 1 Aug 2013 14:46:03 +0200 Subject: [PATCH] Added :owner => root to mount options --- plugins/provisioners/puppet/provisioner/puppet.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/provisioners/puppet/provisioner/puppet.rb b/plugins/provisioners/puppet/provisioner/puppet.rb index 77302cb33..e036e5d5e 100644 --- a/plugins/provisioners/puppet/provisioner/puppet.rb +++ b/plugins/provisioners/puppet/provisioner/puppet.rb @@ -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