template-formula/template/package/install.sls
N c6ae81cc65
refactor(pkgname): reserve 'pkg' as packaging dict
BREAKING CHANGE: the parameter `pkg` is now a dictionary. References
 to `template.pkg` should be changed to `template.pkg.name`.
2019-06-12 11:48:20 +01:00

10 lines
278 B
Text

# -*- coding: utf-8 -*-
# vim: ft=sls
{#- Get the `tplroot` from `tpldir` #}
{%- set tplroot = tpldir.split('/')[0] %}
{%- from tplroot ~ "/map.jinja" import template with context %}
template-package-install-pkg-installed:
pkg.installed:
- name: {{ template.pkg.name }}