From 177ac39956cf984b89db7ab26b38b2d3b1a7836f Mon Sep 17 00:00:00 2001 From: David Seira Date: Tue, 29 Aug 2017 19:54:48 +0200 Subject: [PATCH] Fix to be able to create the pools folder in the fpm. Remi repository in CentOS doesn't create it by default. --- php/ng/fpm/config.sls | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/php/ng/fpm/config.sls b/php/ng/fpm/config.sls index f54b50e..5110866 100644 --- a/php/ng/fpm/config.sls +++ b/php/ng/fpm/config.sls @@ -19,3 +19,11 @@ php_fpm_ini_config: php_fpm_conf_config: {{ php_ini(php.lookup.fpm.conf, php.fpm.config.conf.opts, conf_settings) }} + +{{ php.lookup.fpm.pools }}: + file.directory: + - name: {{ php.lookup.fpm.pools }} + - user: root + - group: root + - file_mode: 755 + - make_dirs: True