Merge pull request #9690 from briancain/expand_nodes_path_chef
File path expand all chef_zero config path options
This commit is contained in:
commit
9f29812db8
|
@ -120,7 +120,7 @@ module VagrantPlugins
|
|||
|
||||
# Make sure all the paths are in the proper format
|
||||
config.map do |path|
|
||||
path = [:host, path] if !path.is_a?(Array)
|
||||
path = [:host, File.expand_path(path)] if !path.is_a?(Array)
|
||||
path
|
||||
end
|
||||
end
|
||||
|
|
|
@ -62,11 +62,11 @@ module VagrantPlugins
|
|||
local_mode: true,
|
||||
)
|
||||
|
||||
still_active = 259 #provisioner has asked chef to reboot
|
||||
|
||||
still_active = 259 #provisioner has asked chef to reboot
|
||||
|
||||
@config.attempts.times do |attempt|
|
||||
exit_status = 0
|
||||
while exit_status == 0 || exit_status == still_active
|
||||
while exit_status == 0 || exit_status == still_active
|
||||
if @machine.guest.capability?(:wait_for_reboot)
|
||||
@machine.guest.capability(:wait_for_reboot)
|
||||
elsif attempt > 0
|
||||
|
|
Loading…
Reference in New Issue