Saltstack Official PHP Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
491B

  1. # Manages the php-fpm pools config files
  2. {% from "php/map.jinja" import php with context %}
  3. {% from "php/macro.jinja" import sls_block %}
  4. {% from "php/macro.jinja" import file_requisites %}
  5. {% from "php/fpm/pools_config.sls" import pool_states with context %}
  6. include:
  7. - php.fpm.service
  8. - php.fpm.pools_config
  9. {% if pool_states %}
  10. extend:
  11. php_fpm_service:
  12. service:
  13. - watch:
  14. {{ file_requisites(pool_states) }}
  15. - require:
  16. {{ file_requisites(pool_states) }}
  17. {% endif %}