Merge pull request #171 from ze42/fix_pool_dependency

fpm: don't extend pool-dependency if no pool
This commit is contained in:
Niels Abspoel 2019-04-02 19:54:35 +02:00 committed by GitHub
commit 936bca4a19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,10 +13,12 @@ include:
- php.ng.fpm.service
- php.ng.fpm.pools_config
{% if pool_states %}
extend:
php_fpm_service:
service:
- watch:
{{ file_requisites(pool_states) }}
{{ file_requisites(pool_states) }}
- require:
{{ file_requisites(pool_states) }}
{{ file_requisites(pool_states) }}
{% endif %}