f1b71d00ae
BREAKING CHANGES: users must adapt their pillar. See `docs.REAME.rst`
15 lines
393 B
Django/Jinja
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 -%}
|