mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-08-06 18:58:28 +02:00
feat(ordering): optionally append includefiles to main config
This commit is contained in:
@@ -63,3 +63,9 @@ sudoers:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- 'ALL=(ALL) ALL'
|
||||
# ordering is important. The sudoers manpage says when multiple
|
||||
# entries match, the last match is used. However, if we do not
|
||||
# manage the main config, our included files may not match last.
|
||||
# To guarantee included files match last, set 'true' below to append
|
||||
# each '#include <includefile>' to sudoers file.
|
||||
append_included_files_to_endof_main_config: true
|
||||
|
||||
Reference in New Issue
Block a user