php-formula/php/ng/ini.jinja
2019-07-10 16:52:03 +02:00

15 lines
399 B
Django/Jinja

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