Book Image

LEARNING PUPPET

Book Image

LEARNING PUPPET

Overview of this book

Table of Contents (17 chapters)
Learning Puppet
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Troubleshooting Puppet

Over a period of time, Puppet environments tend to expand in terms of the size of nodes as well as in the number of Puppet manifests and modules. When environments grow, so does their complexity. Although Puppet is a tool that is designed to manage large environments, it does occasionally get its pants in twist for various reasons. I'd say most issues are caused by us, humans. A small number of issues are caused by the weird behavior by design that some people refer to as bugs. Issues often relate to the recent changes in the Puppet code or changes in the environment configuration. When problems arise, it is important to be able to identify the source of the problem before we can try to fix it.

In this final chapter, we'll take a look at how to identify the common issues in Puppet and how we to tackle them.

In this chapter, we will cover the following topics:

  • Node definition issues

  • Diagnosing duplicate declaration errors

  • Getting around dependency cycle errors...