Browse Source

fix(map): fix missing value for php.lookup.fpm.user in multi-php mode

This fixes the rendering issue:

[CRITICAL] Rendering SLS 'base:php.ng.fpm.config' failed: Jinja variable 'dict object' has no attribute 'user'

When using multiple php versions, this is issued by "{{ php.lookup.fpm.user }}" from php/ng/fpm/config.sls

Add default users in group in the relevant 'fpm' dict from map.jinja
(this is to set owner and group to 'pool.d' directory).
tags/v0.40.1
Philippe Pepiot 5 years ago
parent
commit
f91d942cfb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      php/ng/map.jinja

+ 2
- 0
php/ng/map.jinja View File

@@ -2272,6 +2272,8 @@
'conf': confdir + '/fpm/php-fpm.conf',
'ini': confdir + '/fpm/php.ini',
'pools': confdir + '/fpm/pool.d',
'user': 'root',
'group': 'root',
'service': 'php' + phpng_version + '-fpm',
'user': 'root',
'group': 'root',

Loading…
Cancel
Save