Merge pull request #1982 from michaelglass/patch-1

fix regression chowning chef provisioning directory
This commit is contained in:
Mitchell Hashimoto 2013-07-25 13:24:01 -07:00
commit 1086c81203
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ module VagrantPlugins
def chown_provisioning_folder def chown_provisioning_folder
@machine.communicate.tap do |comm| @machine.communicate.tap do |comm|
comm.sudo("mkdir -p #{@config.provisioning_path}") comm.sudo("mkdir -p #{@config.provisioning_path}")
comm.sudo("chown -R #{@machine.ssh_info[:username]} #{@config.provisioning_path}") comm.sudo("chown #{@machine.ssh_info[:username]} #{@config.provisioning_path}")
end end
end end