Skip to content

Commit f91d942

Browse files
committed
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).
1 parent 83ff9d9 commit f91d942

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

php/ng/map.jinja

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2272,6 +2272,8 @@
22722272
'conf': confdir + '/fpm/php-fpm.conf',
22732273
'ini': confdir + '/fpm/php.ini',
22742274
'pools': confdir + '/fpm/pool.d',
2275+
'user': 'root',
2276+
'group': 'root',
22752277
'service': 'php' + phpng_version + '-fpm',
22762278
'user': 'root',
22772279
'group': 'root',

0 commit comments

Comments
 (0)