-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support modifying sudoers Defaults #282
Conversation
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?
|
@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. |
The test was referencing a defaults line which won't be there with the changes here.
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: