Chef provisioner should utilize reboot capability

This commit is contained in:
Shawn Neal 2014-04-25 15:12:25 -07:00
parent 99ce95198b
commit 38c7203f92
2 changed files with 8 additions and 0 deletions

View File

@ -58,6 +58,10 @@ module VagrantPlugins
@machine.ui.warn(I18n.t("vagrant.chef_run_list_empty"))
end
if @machine.guest.capability?(:wait_for_reboot)
@machine.guest.capability(:wait_for_reboot)
end
if windows?
# This re-establishes our symbolic links if they were
# created between now and a reboot

View File

@ -134,6 +134,10 @@ module VagrantPlugins
@machine.ui.warn(I18n.t("vagrant.chef_run_list_empty"))
end
if @machine.guest.capability?(:wait_for_reboot)
@machine.guest.capability(:wait_for_reboot)
end
if windows?
# This re-establishes our symbolic links if they were
# created between now and a reboot