O'Reilly logo

Troubleshooting Puppet by Thomas Uphill

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Hiera and External Node Classifiers

In this chapter, we'll cover how to deal with problems that may emerge while setting up and using Hiera. We'll also have a look at external node classifiers (ENC), which are used to apply classes to nodes. When problems arise, the ability to use Hiera and ENCs from the command line will allow you to quickly find where the errors have been introduced and which classes are being applied to your nodes.

Hiera is a great tool that reduces the complexity of your code by separating the data from the code and placing the data in a system where values are based on facts. Hiera is usually configured to use YAML files to look up values. In the next section, we'll examine some of the problems that are seen when ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required