paulbsd-salt/states/states/init.sls
2020-07-10 00:58:55 +02:00

13 lines
280 B
Plaintext

---
{%- from "states/map.jinja" import states with context %}
{%- if states is defined and states | length > 0 %}
include:
{%- for state, args in states.items() %}
{%- if args != None -%}
{%- for sls in args %}
- {{ sls }}
{%- endfor %}
{%- endif -%}
{%- endfor %}
{%- endif %}