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

10 lines
199 B
Plaintext

---
{%- from "pkg/map.jinja" import pkg with context %}
{%- if pkg.remove|length > 0 %}
pkg-remove:
pkg.purged:
- pkgs:
{%- for pkg in pkg.remove %}
- {{ pkg }}
{%- endfor %}
{%- endif %}