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.

12345678910111213141516171819202122232425
  1. # Manages the php-fpm pools config files
  2. {% from "php/ng/map.jinja" import php with context %}
  3. {% from "php/ng/macro.jinja" import sls_block %}
  4. {% from "php/ng/fpm/pools_config.sls" import pool_states with context %}
  5. {% macro file_requisites(states) %}
  6. {%- for state in states %}
  7. - file: {{ state }}
  8. {%- endfor -%}
  9. {% endmacro %}
  10. include:
  11. - php.ng.deprecated
  12. - php.ng.fpm.service
  13. - php.ng.fpm.pools_config
  14. {% if pool_states %}
  15. extend:
  16. php_fpm_service:
  17. service:
  18. - watch:
  19. {{ file_requisites(pool_states) }}
  20. - require:
  21. {{ file_requisites(pool_states) }}
  22. {% endif %}