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.

13 lines
346B

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