split up common

This commit is contained in:
2023-12-22 15:58:35 -05:00
parent 92334f5aa1
commit c18d6cdb21
10 changed files with 30 additions and 62 deletions

5
packages/init.sls Normal file
View File

@@ -0,0 +1,5 @@
{% for name, state in salt.pillar.get("packages", {}) %}
{{ "pkg_%s" | format(name) }}:
pkg.{{ state }}:
- name: {{ name | yaml_encode }}
{% endfor %}