Saltstack Official PHP Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122
  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 %}