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

- 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:
- watch: - watch:
{{ file_requisites(pool_states) }}
{{ file_requisites(pool_states) }}
- require: - require:
{{ file_requisites(pool_states) }}
{{ file_requisites(pool_states) }}
{% endif %}

Loading…
Cancel
Save