Browse Source

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

tags/v0.34.0
Adrien "ze" Urban 6 years ago
parent
commit
e18b2be86d
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      php/ng/fpm/pools.sls

+ 4
- 2
php/ng/fpm/pools.sls 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 %}

Loading…
Cancel
Save