php-formula/php/ini.jinja
sticky-note f1b71d00ae feat(ng): promote NG formula
BREAKING CHANGES: users must adapt their pillar. See `docs.REAME.rst`
2019-08-20 13:01:49 +11:00

15 lines
393 B
Django/Jinja

# -*- coding: utf-8 -*-
# vim: ft=jinja
{# php.ini management macro. #}
{% from "php/macro.jinja" import sls_block, serialize %}
{% macro php_ini(filename, opts={}, settings={}) %}
file.managed:
{{ sls_block(opts) }}
- name: {{ filename }}
- source: salt://php/files/php.ini
- template: jinja
- context:
config: {{ serialize(odict(settings)) }}
{%- endmacro -%}