Chapter 10. Troubleshooting

Inevitably, you will run into problems with your Puppet runs. Having good reporting is the key to knowing when failures occur. When most of your Puppet runs are error free, the IRC report mechanism we showed in Chapter 7, Reporting and Orchestration, is useful to detect errors quickly.

Tip

If you have more than the occasional error, then the IRC report will just become noise that you'll learn to ignore. If you are having multiple failures in your code, you should start looking at the acceptance testing procedures provided by Puppet beaker. More information on Puppet beaker is available at https://github.com/puppetlabs/beaker.

Most of the Puppet failures I've come across end up in two buckets. These buckets are as follows: ...

Get Mastering Puppet now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.