iterate order; common; salt configs

This commit is contained in:
2019-04-12 21:46:06 -04:00
parent 42784e1d5b
commit 0c72d02792
10 changed files with 75 additions and 3 deletions

8
common/init.sls Normal file
View File

@@ -0,0 +1,8 @@
{% from "common/map.jinja" import common with context %}
'base_packages':
pkg.installed:
- pkgs:
{% for package in common['packages'] %}
- {{ package|yaml_encode }}
{% endfor %}