Templating

konfigadm can execute Jinja style templates using the pongo2 library

config.yml

1
2
templates:
  /etc/package-list: file.tpl

file.tpl

1
2
3
{% for pkg in packages %}
Installed package: {{pkg}}
{% endfor %}