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.

23 rindas
506B

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