Commit 96e2d9a6 authored by Łukasz Nowak's avatar Łukasz Nowak

Revert "fixup! caddy-frontend: Publish only active slaves from main partition"

This reverts commit 1f91f19d.

Unfortunately due to way how profiles are mangled by jinja2, in some cases
the strings are becoming lowercased, so it just does not work.

It was not caught by tests, as no test has uppercase slave.
parent 1f91f19d
...@@ -26,7 +26,7 @@ md5sum = 6fd023f0d29421d8579f0b3351473bb0 ...@@ -26,7 +26,7 @@ md5sum = 6fd023f0d29421d8579f0b3351473bb0
[template-apache-replicate] [template-apache-replicate]
filename = instance-apache-replicate.cfg.in filename = instance-apache-replicate.cfg.in
md5sum = ecbf3506fc8c8dde72d64fd61d286483 md5sum = 15d6b5b00ab1f74d42863c90f2537981
[template-slave-list] [template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in filename = templates/apache-custom-slave-list.cfg.in
......
...@@ -227,7 +227,7 @@ custom-group = ${dynamic-publish-slave-information:rendered} ...@@ -227,7 +227,7 @@ custom-group = ${dynamic-publish-slave-information:rendered}
{% for slave_instance in slave_instance_list %} {% for slave_instance in slave_instance_list %}
{# Provide a list of slave titles send by master, in order to filter out already destroyed slaves #} {# Provide a list of slave titles send by master, in order to filter out already destroyed slaves #}
{# Note: This functionality is not yet covered by tests, please modify with care #} {# Note: This functionality is not yet covered by tests, please modify with care #}
{{ slave_instance['slave_reference'] }} = active {{ slave_instance['slave_title'] }} = active
{% endfor %} {% endfor %}
[dynamic-publish-slave-information] [dynamic-publish-slave-information]
......
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