saz / puppet-sudo

Manage sudo with Puppet on Debian-, RedHat- and SUSE-based linux distributions and some BSDs
Other
105 stars 216 forks source link

Validate all sudoers files on each update into sudoers.d #59

Closed mafredri closed 10 years ago

mafredri commented 10 years ago

The validation of a single file in sudoers.d is insufficient and allows breakage of sudo. My suggestion is to validate all sudo files on each update into sudoers.d.

This allows us to catch errors like: Alias 'foo' already defined.

saz commented 10 years ago

Merged. Thank you!

mafredri commented 10 years ago

Cool! Thanks for creating the module :)