saz / puppet-sudo

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

Feature Request: Allow default settings from hiera #239

Closed andylytical closed 4 years ago

andylytical commented 5 years ago

Some settings in the provided templates for /etc/sudoers are insufficient to meet our security guidelines.

Would be nice to allow passing default values via class parameters.

Our current workaround is to replace $sudo::content with just the #includedir part and then put all our default settings in hiera in sudo::configs with a priority of 0.

andylytical commented 5 years ago

Similar to #220

saz commented 4 years ago

As there's more discussion on #220 I'll close this issue, but it's referenced on the other issue.

If someone sends in a PR, that would be great!