mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-10-07 14:17:21 +02:00
fix(macros)
This commit is contained in:
1 parent
70e66c97be
commit
a1b88a9845
1 file changed
+3
-3
@@ -1,7 +1,7 @@
|
||||
{%- if config.command is string -%}
|
||||
{{ for_user }} {{ config.privileges }}: {{ config.command }}
|
||||
{%- else -%}
|
||||
{%- if config.command is iterable and config.command is not string -%}
|
||||
{% for command in config.command -%}
|
||||
{{ for_user }} {{ config.privileges }}: {{ command }}
|
||||
{% endfor %}
|
||||
{%- else -%}
|
||||
{{ for_user }} {{ config.privileges }}: {{ config.command }}
|
||||
{%- endif -%}
|
||||
Reference in new issue
Block a user