How to generate customized sudoers files in puppet depending on the environment they're deployed to?
- by gozu
the sysadmins are present in the sudoers files of all environments, but other sudoers are not. Different environments all have slightly different sudoers. Most of the time, 90% of users are the same, and 10% vary so we cannot have only one sudoers file for everything.
Right now, we are using puppet with 10 different files with names like…