1
0
Fork 0
mirror of synced 2024-11-14 04:48:57 -05:00
formula-sudoers/sudoers/files/sudoers
2013-08-20 12:10:47 -05:00

24 lines
440 B
Text

{% set sudoers = pillar.get('sudoers', {}) %}
{% set includedir = sudoers.get('includedir', None) %}
#
# This file is managed by salt
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
{%- for userspec in users %}
{{ userspec }}
{%- endfor %}
# Group privilege specification
{% if includes %}
includedir {{ includedir }}
{% else %}
#includedir /etc/sudoers.d
{% endif %}