Disable php_fpm_ini_config

We prefer packaged defaults over formula ones.
Undo this commit after a solution for
https://github.com/saltstack-formulas/php-formula/pull/238#issuecomment-1445219305.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-02-26 11:06:47 +01:00
parent 23543ffa8b
commit 82fb667a88
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57
2 changed files with 9 additions and 5 deletions

View File

@ -56,12 +56,16 @@ php_fpm_conf_config_{{ version }}:
{%- set conf_settings = php.lookup.fpm.defaults %}
{%- do conf_settings.update(php.fpm.config.conf.settings) %}
{#-
FIX-LIBERTACASA: prevent conflicts with packaged PHP INI configurations, to-do: solve in default map instead:
https://github.com/saltstack-formulas/php-formula/pull/238#issuecomment-1445219305
php_fpm_ini_config:
{{ php_ini(php.lookup.fpm.ini,
'php_fpm_ini_config',
php.fpm.config.ini.opts,
ini_settings
) }}
#}
php_fpm_conf_config:
{{ php_ini(php.lookup.fpm.conf,

View File

@ -36,15 +36,15 @@ extend:
php_fpm_service:
service:
- watch:
- file: php_fpm_ini_config
# - file: php_fpm_ini_config
- file: php_fpm_conf_config
- require:
- sls: php.fpm.config
php_fpm_ini_config:
file:
- require:
- pkg: php_install_fpm
# php_fpm_ini_config:
# file:
# - require:
# - pkg: php_install_fpm
php_fpm_conf_config:
file: