Commit 7b80e243 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 54e67543
Pipeline #33471 passed 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 = 86969db87ec9bbbaf5ab62206c325521
[profile-master]
filename = instance-master.cfg.in
md5sum = db613696269d853bd8eda3c7c9a86c00
md5sum = e53b59b9f894ff1f45167a594c0966dd
[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