fpm: don't extend pool-dependency if no pool
This commit is contained in:
parent
4a0dfac0b0
commit
e18b2be86d
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user