paulbsd-salt/states/pkg/remove.sls

10 lines
199 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
{%- 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 %}