Commit 39aaccab authored by Łukasz Nowak's avatar Łukasz Nowak

XXX rapid-cdn: Clean up instance-master.cfg.in

Cleanups:

 * dropped needless definition of aibcc_enabled
 * renamed master_partition_monitor_monitor_httpd_port to
   MASTER_PARTITION_MONITOR_HTTPD_PORT
 * convert buildout comments to Jinja2 comments
 * strip whitespaces, so that generated file is readable
 * correctly indent on Jinja2 not on buildout
 * drop obvious comments
 * minimize amount of variables, by dropping used only once
 * pass all modules with _module suffix
 * avoid passing needless software_type
 * group definition of all globals into one place
 * name all globals with UPPERCASE

XXX: Clean up until it will be possible to modify it a lot
parent c233dda5
Pipeline #35603 failed with stage
in 0 seconds
......@@ -14,7 +14,7 @@
# not need these here).
[template]
filename = instance.cfg.in
md5sum = a7d4304064abb7bbac413aa4f90bd6b9
md5sum = 75513fafea441a7fced667bf9fcbdd61
[profile-common]
filename = instance-common.cfg.in
......@@ -26,7 +26,7 @@ md5sum = b590577a715632f1befdf1a503780a35
[profile-master]
filename = instance-master.cfg.in
md5sum = b7e016a3fc7734a18b4a7b4a48952f4b
md5sum = 38aac4e4c0681a065c1fffe4768d3d7b
[profile-slave-list]
filename = instance-slave-list.cfg.in
......
This diff is collapsed.
......@@ -99,12 +99,10 @@ extra-context =
import subprocess_module subprocess
import functools_module functools
import operator_module operator
import validators validators
import software software
import validators_module validators
import software_module software
key CLUSTER_DEFAULTS instance-default:defaults
key SLAVE_DEFAULTS instance-slave-default:defaults
# Must match the key id in [switch-softwaretype] which uses this section.
raw software_type RootSoftwareInstance-default-custom-personal-replicate
[dynamic-profile-kedifa]
< = jinja2-template-base
......
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