php-formula/php/ng/installed.jinja

9 lines
261 B
Plaintext
Raw Normal View History

2014-05-20 21:59:25 +02:00
# Template for installing packages.
{% from "php/ng/map.jinja" import php, sls_block with context %}
2014-05-21 04:07:16 +02:00
{% set opts = php.installed.get(state, {}) %}
2014-05-20 21:59:25 +02:00
php_install_{{ state }}:
pkg.installed:
2014-05-21 04:07:16 +02:00
{{ sls_block(opts) }}
- name: {{ php.lookup.pkgs.get(state) }}