Closed deric closed 1 month ago
What a great idea. You just saved me a lot of time, too in implementing this. I'm going to play with your changes today.
Ruby 2.5 is EOL, probably could be updated to Ruby 2.6, right?
Ruby 2.5 status: eol release date: 2017-12-25 EOL date: 2021-04-05
@deric Would you be so kind as to slipstream my updates to your fork and resubmit this pull request?
@deric LGTM but I'd prefer, to have separate PRs for using hiera and the defaults part. Easier to spot any issues in each part.
@bschonec I've added your RHEL7 template modifications. @saz I understand the PR is modifying too many files. I've added a common Ruby function that formats the defaults config. Thus each OS template requires only single line change.
Thanks for this PR. I'll do some more changes and will get a new release published asap.
This PR introduces a possibility to modify sudoers defaults without the need to provide whole configuration file.
However, it would be only possible to add new entries:
would be converted to a line in
/etc/sudoers
The sudoers syntax is fairly complex:
There's a possibility to add more complex configurations: