dotfiles/salt/states/packages.sls
2020-08-14 15:21:45 +02:00

9 lines
210 B
Plaintext

{% for package, args in pillar['packages'].items() %}
{% if args['status'] != 'ignore' %}
{{ package }}:
pkg.{{ args['status'] }}:
- name: {{ package }}
- includes: [pattern]
{% endif %}
{% endfor %}