|
|
|
|
|
|
|
|
# Manages the php-fpm pools config files |
|
|
# Manages the php-fpm pools config files |
|
|
{% from "php/map.jinja" import php with context %} |
|
|
{% from "php/map.jinja" import php with context %} |
|
|
{% from "php/macro.jinja" import sls_block %} |
|
|
{% from "php/macro.jinja" import sls_block %} |
|
|
|
|
|
{% from "php/macro.jinja" import file_requisites %} |
|
|
{% from "php/fpm/pools_config.sls" import pool_states with context %} |
|
|
{% from "php/fpm/pools_config.sls" import pool_states with context %} |
|
|
|
|
|
|
|
|
{% macro file_requisites(states) %} |
|
|
|
|
|
{%- for state in states %} |
|
|
|
|
|
- file: {{ state }} |
|
|
|
|
|
{%- endfor -%} |
|
|
|
|
|
{% endmacro %} |
|
|
|
|
|
|
|
|
|
|
|
include: |
|
|
include: |
|
|
- php.fpm.service |
|
|
- php.fpm.service |
|
|
- php.fpm.pools_config |
|
|
- php.fpm.pools_config |