The saz/sudo module

The next module on our module examination journey is the saz/sudo module. This module presents a great methodology to manage the sudoers file. It is actually used by a large number of other modules for sudoers file management.

The module itself is fairly simple, so this section will be short as we go over it.

The sudo module manages all aspects of your sudoers configuration, which can catch some people by surprise. The module has options to leave the system configuration alone, as well as not purging unmanaged sudoers entries. The recommended path is to manage all the sudoer resources; however, the options are there if needed.

To install the sudoers module, we'll issue the following command:

sudo puppet module install saz-sudo ...

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.