fpm: don't extend pool-dependency if no pool

This commit is contained in:
Adrien "ze" Urban 2018-06-07 16:08:38 +02:00
parent 4a0dfac0b0
commit e18b2be86d

View File

@ -13,6 +13,7 @@ include:
- php.ng.fpm.service - php.ng.fpm.service
- php.ng.fpm.pools_config - php.ng.fpm.pools_config
{% if pool_states %}
extend: extend:
php_fpm_service: php_fpm_service:
service: service:
@ -20,3 +21,4 @@ extend:
{{ file_requisites(pool_states) }} {{ file_requisites(pool_states) }}
- require: - require:
{{ file_requisites(pool_states) }} {{ file_requisites(pool_states) }}
{% endif %}