dotfiles/salt/states/packages.sls

9 lines
210 B
Plaintext
Raw Permalink Normal View History

2020-05-14 07:19:39 +00:00
{% for package, args in pillar['packages'].items() %}
{% if args['status'] != 'ignore' %}
{{ package }}:
pkg.{{ args['status'] }}:
- name: {{ package }}
- includes: [pattern]
2020-05-14 07:19:39 +00:00
{% endif %}
{% endfor %}