privisioners/puppet: wait for reboot on Windows

This commit is contained in:
Mitchell Hashimoto 2014-04-12 14:24:43 -07:00
parent 9dd45ac81c
commit 1a0cb9b4c1
1 changed files with 6 additions and 0 deletions

View File

@ -44,6 +44,12 @@ module VagrantPlugins
end
def provision
# If the machine has a wait for reboot functionality, then
# do that (primarily Windows)
if @machine.guest.capability?(:wait_for_reboot)
@machine.guest.capability(:wait_for_reboot)
end
# Check that the shared folders are properly shared
check = []
if @config.manifests_path[0] == :host