crowbar/barclamp-crowbar — pull request #1090 by toabctl (2014-07-11 09:04:10+00:00)
Title: Cleanup reboot handler

Introduce a new boolean variable :wait_for_reboot in the :crowbar_wall
namespace. If this variable is true, wait for a node reboot after the
remote chef client run. This replaces the node[:reboot] string variable.
Also no longer trigger the reboot via ssh. The reboot should be
triggered via a chef report handler which must set
node[:crowbar_wall][:wait_for_reboot] to true so crowbar waits until the
reboot finished. A chef start handler
should reset node[:crowbar_wall][:wait_for_reboot] so crowbar doesn't
wait for a reboot on every chef-client run.