We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d094c commit d26c4f8Copy full SHA for d26c4f8
php/fpm/pools.sls
@@ -1,14 +1,9 @@
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
-{% macro file_requisites(states) %}
7
- {%- for state in states %}
8
- - file: {{ state }}
9
- {%- endfor -%}
10
-{% endmacro %}
11
-
12
include:
13
- php.fpm.service
14
- php.fpm.pools_config
php/macro.jinja
@@ -27,3 +27,9 @@
27
28
{{ ret|json() }}
29
{%- endmacro -%}
30
+
31
+{% macro file_requisites(states) %}
32
+ {%- for state in states %}
33
+ - file: {{ state }}
34
+ {%- endfor -%}
35
+{% endmacro %}
0 commit comments