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.
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 ...