From e18b2be86ddfd50e0b1d6bff5aa75137a2da2b64 Mon Sep 17 00:00:00 2001 From: "Adrien \"ze\" Urban" Date: Thu, 7 Jun 2018 16:08:38 +0200 Subject: [PATCH] fpm: don't extend pool-dependency if no pool --- php/ng/fpm/pools.sls | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/php/ng/fpm/pools.sls b/php/ng/fpm/pools.sls index 79bb0b4..cfc796b 100644 --- a/php/ng/fpm/pools.sls +++ b/php/ng/fpm/pools.sls @@ -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 %}