expanded packages state
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% for pkg in salt['pillar.get']('packages', []) %}
|
||||
Install {{ pkg }}:
|
||||
pkg.installed:
|
||||
- name: {{ pkg }}
|
||||
- refresh: false
|
||||
{% for package, args in pillar['packages'].items() %}
|
||||
{% if args['status'] != 'ignore' %}
|
||||
{{ package }}:
|
||||
pkg.{{ args['status'] }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user