paulbsd-salt/states/pkg/install.sls
Paul Lecuq 58454865ff
All checks were successful
continuous-integration/drone/push Build is passing
updated pkg state
2022-12-03 00:12:52 +01:00

14 lines
280 B
Plaintext

---
{%- from "pkg/map.jinja" import pkg with context %}
{%- if pkg.aptpkgs|length > 0 %}
pkg-install:
pkg.latest:
- pkgs:
{%- for pkg in pkg.aptpkgs %}
- {{ pkg }}
{%- endfor %}
- refresh: false
#- require:
# - sls: repos.prereqs
{%- endif %}