Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Puppet Security
  • Table Of Contents Toc
Learning Puppet Security

Learning Puppet Security

By : Jason Slagle
4 (3)
close
close
Learning Puppet Security

Learning Puppet Security

4 (3)
By: Jason Slagle

Overview of this book

If you are a security professional whose workload is increasing, or a Puppet professional looking to increase your knowledge of security, or even an experienced systems administrator, then this book is for you. This book will take you to the next level of security automation using Puppet. The book requires no prior knowledge of Puppet to get started.
Table of Contents (12 chapters)
close
close
11
Index

The hiera-eyaml gem


The last module we're going to look at in this chapter is not a module at all. It's actually a gem that installs an extension for Hiera.

As you recall from earlier, Hiera is a hierarchical data store which allows us to separate our data from our code. For instance, it lets us move the NTP servers we're using out of the manifests.

It supports a wide variety of methods to create a hierarchy, which allows us to supplement or override configuration data needed by various modules.

In fact, several of the modules we've looked at earlier in this chapter have great Hiera bindings. Modules with strong Hiera bindings are constructed in a manner that allows the configuration of the main class to be passed in as parameters. Puppet can query Hiera to get the values of these parameters, allowing us to override them without changing Puppet code.

Of the modules covered in this chapter, CIS can use Hiera to configure items such as log servers or NTP servers. The sudo module allows configuration...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Puppet Security
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon