Commit ad9c699a authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

ERP5: disable the zope-i promise in Python 3

parent 0ded057f
...@@ -86,7 +86,7 @@ md5sum = 862d3b5309aa4d80bfa48703fcffbed0 ...@@ -86,7 +86,7 @@ md5sum = 862d3b5309aa4d80bfa48703fcffbed0
[template-zope] [template-zope]
filename = instance-zope.cfg.in filename = instance-zope.cfg.in
md5sum = bb835a43675c6b7177895479864ba783 md5sum = 60ca6aa3e110487e4dcd43bf2a8d185b
[template-balancer] [template-balancer]
filename = instance-balancer.cfg.in filename = instance-balancer.cfg.in
......
...@@ -353,11 +353,17 @@ port = {{ port }} ...@@ -353,11 +353,17 @@ port = {{ port }}
{%- endif %} {%- endif %}
[{{ section("promise-" ~ name) }}] [{{ section("promise-" ~ name) }}]
{% if six.PY3 -%}
# Disable the promise in Python 3. ERP5 is not compatible with Python 3 yet, so
# the promise would always fail.
recipe =
{% else -%}
<= monitor-promise-base <= monitor-promise-base
module = check_port_listening module = check_port_listening
name = {{ name }}.py name = {{ name }}.py
config-hostname = {{ ipv4 }} config-hostname = {{ ipv4 }}
config-port = {{ port }} config-port = {{ port }}
{% endif -%}
{% set extra_path_list = [] -%} {% set extra_path_list = [] -%}
{% set shell_escaped_extra_path_list = [] -%} {% set shell_escaped_extra_path_list = [] -%}
......
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