provisioners/chef: use real variable in delete from chef sever [GH-2300]

This commit is contained in:
Mitchell Hashimoto 2013-10-01 14:13:16 -07:00
parent 91605db1c1
commit 9fcc89bcf1
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ BUG FIXES:
- provisioners/ansibe: Extra vars are converted to strings. [GH-2244]
- provisioners/chef: Propagate disabling color if Vagrant has no color
enabled. [GH-2246]
- provisioners/chef: Delete from chef server exception fixed. [GH-2300]
- provisioners/puppet: Work with restrictive umask. [GH-2241]
- provisioners/salt: Remove bootstrap definition file on each run in
order to avoid permissions issues. [GH-2290]

View File

@ -105,6 +105,7 @@ module VagrantPlugins
end
def delete_from_chef_server(deletable)
env = @machine.env
node_name = config.node_name || env[:vm].config.vm.host_name
env[:ui].info(I18n.t(
"vagrant.provisioners.chef.deleting_from_server",