mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2025-03-12 09:56:41 +01:00
Merge pull request #11 from andrew-vant/sudoers-defaults
Fixed default permissions for Debian-based distributions.
This commit is contained in:
commit
f6af37072c
@ -11,8 +11,8 @@
|
||||
{%- set host_list_defaults = defaults.get('host_list', {}) %}
|
||||
{%- set command_list_defaults = defaults.get('command_list', {}) %}
|
||||
{%- set runas_list_defaults = defaults.get('runas_list', {}) %}
|
||||
{%- set users = sudoers.get('users', {'root': 'ALL=(ALL:ALL) ALL'}) %}
|
||||
{%- set groups = sudoers.get('groups', {'sudo': 'ALL=(ALL:ALL) ALL'}) %}
|
||||
{%- set users = sudoers.get('users', {'root': ['ALL=(ALL:ALL) ALL']}) %}
|
||||
{%- set groups = sudoers.get('groups', {'sudo': ['ALL=(ALL:ALL) ALL']}) %}
|
||||
{%- else %}
|
||||
{%- set defaults = sudoers.get('defaults', {}) %}
|
||||
{%- set generic_defaults = defaults.get('generic', []) %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user