May 2017
Beginner
268 pages
6h 1m
English
What you don't know can't hurt you.
—Edward S. Marshall
In this chapter, you will learn why it's useful to separate your data and code. You will see how to set up Puppet's built-in Hiera mechanism; how to use it to store and query configuration data, including encrypted secrets such as passwords; and how to use Hiera data to create Puppet resources.

What do we mean by configuration data? There will be lots of pieces of information in your manifests which we can regard as configuration data; for example, the values of all your resource attributes. Look at the following example:
package { 'puppet-agent': ...Read now
Unlock full access