Troubleshooting and Profiling

Sometimes, our Puppet infrastructure and code don't seem like they're cooperating with us. In this chapter, we'll focus on troubleshooting some common issues.

The main topics that we'll cover in this chapter are as follows:

  • Puppet infrastructure component errors
  • Common catalog compilation errors
  • Logging

Although this is not always the most exciting topic, knowing how to work with these issues is the key to success with any system and language, including Puppet. Before we dive into our code, we'll make sure that our Puppet infrastructure is ready to go.

Get Mastering Puppet 5 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.