Show node name in logging
This commit is contained in:
parent
370d6b0c98
commit
94ce12683e
|
@ -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
|
||||
|
|
|
@ -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: |-
|
||||
|
|
Loading…
Reference in New Issue