Using noop

So, what do all of the previous examples look like in action? In this section, we'll set up auditing on the password file using the preceding noop parameters and the resources.

First, start your Vagrant machine and SSH into it.

We'll create a module to hold this called useraudit. To do this, let's first create the skeleton of our module much like in Chapter 1, Puppet as a Security Tool. On your virtual machine, run the following command:

sudo mkdir –p /etc/puppet/modules/useraudit/manifests

This module is only going to have manifests, so it's the only directory we'll make.

Tip

For brevity in this book, we're creating bare bones skeleton example modules. The module format is very powerful and contains metadata such as versioning and dependency ...

Get Learning Puppet Security 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.