Commit 5e720d5b authored by Łukasz Nowak's avatar Łukasz Nowak

caddy-frontend: Share parameter_dict

parent f5b350b3
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
# not need these here). # not need these here).
[template] [template]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 9540d96bf8fe36091b44b9d6a515b45d md5sum = 759be07fcebb20f855caf40750fbb59a
[profile-common] [profile-common]
filename = instance-common.cfg.in filename = instance-common.cfg.in
......
...@@ -17,6 +17,7 @@ context = ...@@ -17,6 +17,7 @@ context =
key slapparameter_dict instance-parameter:configuration key slapparameter_dict instance-parameter:configuration
key slave_instance_list instance-parameter:slave-instance-list key slave_instance_list instance-parameter:slave-instance-list
section instance_parameter instance-parameter section instance_parameter instance-parameter
section parameter_dict dynamic-parameter-section
${:extra-context} ${:extra-context}
[switch-softwaretype] [switch-softwaretype]
...@@ -41,7 +42,6 @@ filename = instance-caddy-frontend.cfg ...@@ -41,7 +42,6 @@ filename = instance-caddy-frontend.cfg
extensions = jinja2.ext.do extensions = jinja2.ext.do
extra-context = extra-context =
import furl_module furl import furl_module furl
section parameter_dict dynamic-parameter-section
raw software_type single-custom-personal raw software_type single-custom-personal
caucase-jinja2-library = {{ template_frontend_parameter_dict['caucase_jinja2_library'] }} caucase-jinja2-library = {{ template_frontend_parameter_dict['caucase_jinja2_library'] }}
import-list = import-list =
...@@ -64,7 +64,6 @@ extra-context = ...@@ -64,7 +64,6 @@ extra-context =
raw software_type RootSoftwareInstance-default-custom-personal-replicate raw software_type RootSoftwareInstance-default-custom-personal-replicate
raw profile_monitor2 {{ template_frontend_parameter_dict['profile_monitor2'] }} raw profile_monitor2 {{ template_frontend_parameter_dict['profile_monitor2'] }}
raw profile_common {{ template_frontend_parameter_dict['profile_common'] }} raw profile_common {{ template_frontend_parameter_dict['profile_common'] }}
section parameter_dict dynamic-parameter-section
caucase-jinja2-library = {{ template_frontend_parameter_dict['caucase_jinja2_library'] }} caucase-jinja2-library = {{ template_frontend_parameter_dict['caucase_jinja2_library'] }}
import-list = import-list =
file caucase :caucase-jinja2-library file caucase :caucase-jinja2-library
...@@ -75,7 +74,6 @@ template = {{ template_frontend_parameter_dict['profile_kedifa'] }} ...@@ -75,7 +74,6 @@ template = {{ template_frontend_parameter_dict['profile_kedifa'] }}
filename = instance-kedifa.cfg filename = instance-kedifa.cfg
extensions = jinja2.ext.do extensions = jinja2.ext.do
extra-context = extra-context =
section parameter_dict dynamic-parameter-section
raw software_type kedifa raw software_type kedifa
caucase-jinja2-library = {{ template_frontend_parameter_dict['caucase_jinja2_library'] }} caucase-jinja2-library = {{ template_frontend_parameter_dict['caucase_jinja2_library'] }}
import-list = import-list =
......
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