2013-08-19 18:06:34 -04:00
|
|
|
{% 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
|
2013-08-20 13:37:58 -04:00
|
|
|
{{ users }}
|
2013-08-19 18:06:34 -04:00
|
|
|
|
|
|
|
# Group privilege specification
|
|
|
|
|
|
|
|
{% if includes %}
|
|
|
|
includedir {{ includedir }}
|
|
|
|
{% else %}
|
|
|
|
#includedir /etc/sudoers.d
|
|
|
|
{% endif %}
|