php-formula/php/ng/installed.jinja
2014-05-20 22:07:16 -04:00

9 lines
261 B
Django/Jinja

# Template for installing packages.
{% from "php/ng/map.jinja" import php, sls_block with context %}
{% set opts = php.installed.get(state, {}) %}
php_install_{{ state }}:
pkg.installed:
{{ sls_block(opts) }}
- name: {{ php.lookup.pkgs.get(state) }}