php-formula/php/ng/installed.jinja

11 lines
300 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 with context %}
{% from "php/ng/macro.jinja" import sls_block %}
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) }}