paulbsd-salt/states/pkg/remove.sls
2021-08-19 21:15:24 +02:00

11 lines
200 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 %}