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

23 行
533B

  1. # Installs php-cli and manages the associated php.ini
  2. include:
  3. - php.ng.cli.install
  4. - php.ng.cli.ini
  5. {% set pillar_php_ng_version = salt['pillar.get']('php:ng:version', '7.0') %}
  6. {% if pillar_php_ng_version is iterable and pillar_php_ng_version is not string %}
  7. extend:
  8. {% for version in pillar_php_ng_version %}
  9. php_cli_ini_{{ version }}:
  10. file:
  11. - require:
  12. - sls: php.ng.cli.install
  13. {% endfor %}
  14. {% else %}
  15. extend:
  16. php_cli_ini:
  17. file:
  18. - require:
  19. - sls: php.ng.cli.install
  20. {% endif %}