Commit 25af007b authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Alain Takoudjou

erp5: Add missing variable mariadb_dict

parent 687216f9
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
{% set monitor_dict = slapparameter_dict.get('monitor', {}) %} {% set monitor_dict = slapparameter_dict.get('monitor', {}) %}
{% set monitor_port = monitor_dict.get('port-base', 2600) %} {% set monitor_port = monitor_dict.get('port-base', 2600) %}
{% set monitor_count = 1 -%} {% set monitor_count = 1 -%}
{% set mariadb_dict = slapparameter_dict.get('mariadb', {}) %}
{% if mariadb_dict.get('monitor', False) -%} {% if mariadb_dict.get('monitor', False) -%}
{% do mariadb_request_dict.__setitem__('monitor-port', mariadb_dict.get('monitor-port', monitor_port)) -%} {% do mariadb_request_dict.__setitem__('monitor-port', mariadb_dict.get('monitor-port', monitor_port)) -%}
{% endif -%} {% endif -%}
......
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