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

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