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.

17 lines
480B

  1. # Manages the php-fpm pools config files
  2. {% from 'php/ng/map.jinja' import php, sls_block with context %}
  3. {% from 'php/ng/fpm/pools_config.sls' import pool_states with context %}
  4. {% from 'php/ng/fpm/service.sls' import service_function with context %}
  5. include:
  6. - php.ng.fpm.service
  7. - php.ng.fpm.pools_config
  8. extend:
  9. php_fpm_service:
  10. service.{{ service_function }}:
  11. - watch:
  12. {%- for pool in pool_states %}
  13. - file: {{ pool }}
  14. {% endfor -%}