Commit bbd14433 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

caddy-frontend: Sort list of authorised slaves

This will stabilise list of published slaves.
parent c1e580e5
......@@ -26,7 +26,7 @@ md5sum = 2903758a104186b7dae9573c3470be78
[template-caddy-replicate]
filename = instance-apache-replicate.cfg.in
md5sum = af2c92ff8abf56ea31289f6d7013bf62
md5sum = fbd7b74de5bc445157c6c3533fc5b073
[template-slave-list]
filename = templates/apache-custom-slave-list.cfg.in
......
......@@ -199,6 +199,7 @@ context =
{% do warning_slave_dict.__setitem__(slave.get('slave_reference'), slave_warning_list) %}
{% endif %}
{% endfor %}
{% do authorized_slave_list.sort() %}
[monitor-instance-parameter]
monitor-httpd-port = {{ slapparameter_dict.get('monitor-httpd-port', '8196') }}
......
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