I ran a cookbook which has installed some things (for example apache) on my chef node. It was the first version (0.1.0) of my cookbook. How can I undo the changes? (remove apache using chef)
There is no specific way, you would need to write a new recipe that enforces the new state you want (packages uninstalled, folders removed, services stopped, etc).