Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
399B

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=jinja
  3. {# php.ini management macro. #}
  4. {% from "php/ng/macro.jinja" import sls_block, serialize %}
  5. {% macro php_ini(filename, opts={}, settings={}) %}
  6. file.managed:
  7. {{ sls_block(opts) }}
  8. - name: {{ filename }}
  9. - source: salt://php/ng/files/php.ini
  10. - template: jinja
  11. - context:
  12. config: {{ serialize(odict(settings)) }}
  13. {%- endmacro -%}