Vagrantfile (relevant parts)
config.vm.provision :chef_solo do |chef|
chef.add_recipe "yum"
# various recipes..
# in one of these i create the 'localuser' user
end
config.vm.synced_folder "./site/frontend", "/var/www/vhosts/site/frontend", :owner=> 'localuser', :group=>'apache', :extra => 'dmode=755,fmode=755'
When i do the first vagrant up
i get an erroring on mounting because it can't find localuser (mounting of shared folders comes before the provisioning)
What can i do to have a shared folder with an owner that is created later?