mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-07-23 22:39:02 +02:00
Make management of the main sudoers config optional
It should be possible to not overwrite the main sudoers configuration file and only provide files to be included. This introduces a new Pillar variable to achieve that. If it's not set we default to the old behaviour of managing that file.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
sudoers:
|
||||
# By default the main sudoers file is managed by this formula (False to skip)
|
||||
manage_main_config: True
|
||||
users:
|
||||
johndoe:
|
||||
- 'ALL=(ALL) ALL'
|
||||
|
||||
Reference in New Issue
Block a user