Fix for redis and variable glob
This commit is contained in:
@@ -574,7 +574,7 @@ def post_pref(self, apt_packages, packages):
|
|||||||
# create nginx configuration for redis
|
# create nginx configuration for redis
|
||||||
if set(WOVariables.wo_redis).issubset(set(apt_packages)):
|
if set(WOVariables.wo_redis).issubset(set(apt_packages)):
|
||||||
if os.path.isdir('/etc/nginx/common'):
|
if os.path.isdir('/etc/nginx/common'):
|
||||||
data = dict()
|
data = dict(upstream="php72")
|
||||||
Log.debug(self, 'Writting the nginx configuration to '
|
Log.debug(self, 'Writting the nginx configuration to '
|
||||||
'file /etc/nginx/common/redis-php72.conf')
|
'file /etc/nginx/common/redis-php72.conf')
|
||||||
wo_nginx = open('/etc/nginx/common/redis-php72.conf',
|
wo_nginx = open('/etc/nginx/common/redis-php72.conf',
|
||||||
|
|||||||
Reference in New Issue
Block a user