I'm trying to set up an asterisk server with chef using Berkshelf and Vagrant, and I'd first like to upgrade the kernel by running
apt-get upgrade
, and rebooting my machine.
How can I trigger a reboot in the recipe, and have it pick up after the machine reboots? I have no problem with this using Fabric, but
execute "reboot"
the Chef provisioner in Vagrant died as the machine rebooted