diff --git a/plugins/provisioners/chef/provisioner/chef_client.rb b/plugins/provisioners/chef/provisioner/chef_client.rb index d1b3e7461..32bb76350 100644 --- a/plugins/provisioners/chef/provisioner/chef_client.rb +++ b/plugins/provisioners/chef/provisioner/chef_client.rb @@ -142,7 +142,7 @@ module VagrantPlugins def delete_from_chef_server(deletable) node_name = (config.node_name || env[:vm].config.vm.host_name) env[:ui].info I18n.t("vagrant.provisioners.chef.deleting_from_server", - :deletable => deletable) + :deletable => deletable, :name => node_name) Kernel.system("knife #{deletable} delete --yes #{node_name}") end end diff --git a/templates/locales/en.yml b/templates/locales/en.yml index 005197198..442a3035f 100644 --- a/templates/locales/en.yml +++ b/templates/locales/en.yml @@ -721,7 +721,7 @@ en: server_validation_key_doesnt_exist: |- The validation key set for `config.chef.validation_key_path` does not exist! This file needs to exist so it can be uploaded to the virtual machine. - deleting_from_server: "Deleting %{deletable} from Chef server..." + deleting_from_server: "Deleting %{deletable} \"%{name}\" from Chef server..." puppet: not_detected: |-