Commit 774964f7 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5: Add missing variable mariadb_dict

parent 28d0e18e
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,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