From 110edf09b33514b1e772cfb24f5acbb7d9038e8e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 10 Sep 2019 22:25:49 +0200 Subject: [PATCH] sort mirror names --- .../templates/static-mirroring/static-components.conf.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/roles/templates/static-mirroring/static-components.conf.erb b/modules/roles/templates/static-mirroring/static-components.conf.erb index aa43c9a39..fb89f4634 100644 --- a/modules/roles/templates/static-mirroring/static-components.conf.erb +++ b/modules/roles/templates/static-mirroring/static-components.conf.erb @@ -37,9 +37,10 @@ config['components'].each_pair do |component_name, component_conf| end end - exclude = component_conf['exclude-mirrors'].join(',') + + exclude = component_conf['exclude-mirrors'].sort().join(',') exclude = '-' unless exclude != "" - extrapush = component_conf['extra-push'].join(',') + extrapush = component_conf['extra-push'].sort().join(',') extrapush = '-' unless extrapush != "" lines << "#{component_conf['master']} #{component_name} #{srchost} #{srcpath} #{extrapush} #{exclude}" -- 2.20.1