How do I detect if a reboot is required? One of my recipes is failing because a previous recipe puts the machine in a state that requires a reboot.
I’ve looked through this…
And it shows how to reboot immediately, but won’t that mean the machine reboots everytime chef runs? How do you only reboot if it’s required?