I am installing certain packages on my server using chef. These installations need server reboot. And we need to perform some post activities once the server comes online.
I want to handle this situation by creating a role.
- role = recipe[pre_installation_actions], recipe[install_package_and_reboot], recipe[post_installation_actions]
But once the server is rebooted, chef client shuts down. How can I invoke chef-client from the same state again once the server is rebooted?