Troubleshooting and Debugging
Chef Troubleshooting and Debugging
After having gone through the installation, configuration, and development aspects of chef, let’s now look at how we can troubleshoot and debug if something doesn’t work in the chef environment. In this chapter, we look at common themes in debugging and troubleshooting a chef environment.
Debugging Chef Client Run
Several approaches can be used to debug a chef client run.
Running Chef Client with an Empty Run List
At times, you may have issues with a chef client run; it may not run a recipe or may not behave as it should for chef runs.
Running the chef client with an empty ...