Commit 873a49f6 authored by Julien Muchembled's avatar Julien Muchembled

re6stnet: the registry will do geoip location

parent 4bbd1089
Pipeline #14775 failed with stage
...@@ -5,6 +5,7 @@ extends = ...@@ -5,6 +5,7 @@ extends =
../../component/openssl/buildout.cfg ../../component/openssl/buildout.cfg
../../component/logrotate/buildout.cfg ../../component/logrotate/buildout.cfg
../../component/apache/buildout.cfg ../../component/apache/buildout.cfg
../../component/geoip2/buildout.cfg
../../component/git/buildout.cfg ../../component/git/buildout.cfg
../../component/python-cryptography/buildout.cfg ../../component/python-cryptography/buildout.cfg
../../stack/slapos.cfg ../../stack/slapos.cfg
...@@ -36,12 +37,13 @@ eggs = ...@@ -36,12 +37,13 @@ eggs =
${python-cffi:egg} ${python-cffi:egg}
${python-cryptography:egg} ${python-cryptography:egg}
pyOpenSSL pyOpenSSL
re6stnet re6stnet[geoip]
initialization = initialization =
import os import os
path = os.environ.get('PATH', '/bin:/usr/bin') path = os.environ.get('PATH', '/bin:/usr/bin')
os.environ['PATH'] = '${openssl:location}/bin:${git:location}/bin' + ( os.environ['PATH'] = '${openssl:location}/bin:${git:location}/bin' + (
path and ':' + path) path and ':' + path)
os.environ['GEOIP2_MMDB'] = "${geolite2-country:location}/GeoLite2-Country.mmdb"
depends = ${re6stnet-develop:recipe} depends = ${re6stnet-develop:recipe}
[re6stnet-backup] [re6stnet-backup]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment