0
0
mirror of https://github.com/saltstack-formulas/sudoers-formula.git synced 2025-08-04 06:15:31 +02:00
2019-04-24 11:03:27 +02:00

8 lines
228 B
Django/Jinja

{%- if config.command is string -%}
{{ for_user }} {{ config.privileges }}: {{ config.command }}
{%- else -%}
{% for command in config.command -%}
{{ for_user }} {{ config.privileges }}: {{ command }}
{% endfor %}
{%- endif -%}