provisioners/chef: fix node/client deletion when node_name is not set [GH-2345]
V2 config uses `hostname` instead of `host_name`.
This commit is contained in:
parent
7f624976f9
commit
d321b9199e
|
@ -14,6 +14,7 @@ BUG FIXES:
|
|||
[GH-2620]
|
||||
- guests/redhat: fix configure networks bringing down interfaces that
|
||||
don't exist. [GH-2614]
|
||||
- provisioners/chef: fix node/client deletion when node_name is not set [GH-2345]
|
||||
|
||||
## 1.4.0 (December 9, 2013)
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
def delete_from_chef_server(deletable)
|
||||
node_name = @config.node_name || @machine.config.vm.host_name
|
||||
node_name = @config.node_name || @machine.config.vm.hostname
|
||||
@machine.env.ui.info(I18n.t(
|
||||
"vagrant.provisioners.chef.deleting_from_server",
|
||||
deletable: deletable, name: node_name))
|
||||
|
|
Loading…
Reference in New Issue