provisioners/chef: chown/create folder before access [GH-2121]

This commit is contained in:
Mitchell Hashimoto 2013-09-04 20:43:22 -07:00
parent 4c35f6d071
commit d4e6372fa7
2 changed files with 4 additions and 3 deletions

View File

@ -94,6 +94,8 @@ BUG FIXES:
- provisioners/ansible: No longer report failure on every run. [GH-2007]
- provisioners/ansible: Properly handle extra vars with spaces. [GH-1984]
- provisioners/chef: Formatter option works properly. [GH-2058]
- provisioners/chef: Create/chown the provisioning folder before
reading contents. [GH-2121]
- provisioners/puppet: mount synced folders as root to avoid weirdness
- provisioners/puppet: Run from the correct working directory. [GH-1967]
with Puppet. [GH-2015]

View File

@ -45,10 +45,9 @@ module VagrantPlugins
end
end
verify_shared_folders(check)
verify_binary(chef_binary_path("chef-solo"))
chown_provisioning_folder
verify_shared_folders(check)
verify_binary(chef_binary_path("chef-solo"))
upload_encrypted_data_bag_secret if @config.encrypted_data_bag_secret_key_path
setup_json
setup_solo_config