Commit 0b235a2a authored by Roque's avatar Roque

[WIP] stack/monitor: propagate parameters

parent 941cb2af
...@@ -74,7 +74,7 @@ md5sum = 8e452bd32fc0d4d858b275a2b3ee790b ...@@ -74,7 +74,7 @@ md5sum = 8e452bd32fc0d4d858b275a2b3ee790b
[template-erp5] [template-erp5]
filename = instance-erp5.cfg.in filename = instance-erp5.cfg.in
md5sum = 1333d2fc21f64da4010a4eafea59d141 md5sum = ea01c44c0d667bcae1528c3e991a5275
[template-zeo] [template-zeo]
filename = instance-zeo.cfg.in filename = instance-zeo.cfg.in
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
{% endfor -%} {% endfor -%}
[request-common] [request-common]
<= request-common-base <= request-common-base
<= propagate-monitor-parameters
config-use-ipv6 = {{ dumps(slapparameter_dict.get('use-ipv6', False)) }} config-use-ipv6 = {{ dumps(slapparameter_dict.get('use-ipv6', False)) }}
config-computer-memory-percent-threshold = {{ dumps(monitor_dict.get('computer-memory-percent-threshold', 80)) }} config-computer-memory-percent-threshold = {{ dumps(monitor_dict.get('computer-memory-percent-threshold', 80)) }}
{% set caucase_dict = slapparameter_dict.get('caucase', {}) -%} {% set caucase_dict = slapparameter_dict.get('caucase', {}) -%}
......
...@@ -92,3 +92,7 @@ context = ...@@ -92,3 +92,7 @@ context =
[versions] [versions]
cns.recipe.symlink = 0.2.3 cns.recipe.symlink = 0.2.3
[propagate-monitor-parameters]
config-monitor-cors-domains = "roque-buildout-cors-domain"
config-monitor-interface-url = "roque-buildout-interface-url"
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