Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
slapos
Commits
29d2da5a
Commit
29d2da5a
authored
Oct 11, 2024
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[WIP] stack/monitor: propagate parameters
parent
d2f2c71c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
stack/erp5/buildout.hash.cfg
stack/erp5/buildout.hash.cfg
+1
-1
stack/erp5/instance-erp5.cfg.in
stack/erp5/instance-erp5.cfg.in
+1
-0
stack/monitor/buildout.cfg
stack/monitor/buildout.cfg
+4
-0
No files found.
stack/erp5/buildout.hash.cfg
View file @
29d2da5a
...
@@ -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
...
...
stack/erp5/instance-erp5.cfg.in
View file @
29d2da5a
...
@@ -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', {}) -%}
...
...
stack/monitor/buildout.cfg
View file @
29d2da5a
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment