Commit afab194b authored by Mirco Vivaldi's avatar Mirco Vivaldi
Browse files

Update commands/init.sls

parent f6a7f66b
{% if pillar.commands is defined %}
{% set data = pillar.get("commands") %}
{% if data != None %}
{% for command in data %}
{{ command }}-cmd:
cmd.run:
- name: {{ command }}
{% else %}
{{ command }}-no-data:
test.nop
{% endfor %}
{% endif %}
{% endif %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment