Saltstack Official PHP Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
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 -%}