X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8c1484ccac7f10b5f497a48295c04cbed1a01457..614474a50b36944856024c28d28530c3f61755ef:/cookbooks/rsyncd/templates/default/rsyncd.conf.erb diff --git a/cookbooks/rsyncd/templates/default/rsyncd.conf.erb b/cookbooks/rsyncd/templates/default/rsyncd.conf.erb index c70de0ba7..73b6dbe4d 100644 --- a/cookbooks/rsyncd/templates/default/rsyncd.conf.erb +++ b/cookbooks/rsyncd/templates/default/rsyncd.conf.erb @@ -1,5 +1,5 @@ # DO NOT EDIT - This file is being maintained by Chef -<% node[:rsyncd][:modules].each do |name,details| -%> +<% node[:rsyncd][:modules].sort.each do |name,details| -%> [<%= name %>] comment = <%= details[:comment] %> @@ -34,10 +34,10 @@ refuse options = <%= details[:refuse_options].join(" ") %> <% end -%> <% unless @hosts_allow[name].empty? -%> - hosts allow = <%= @hosts_allow[name].join(",") %> + hosts allow = <%= @hosts_allow[name].sort.join(",") %> <% end -%> <% unless @hosts_deny[name].empty? -%> - hosts deny = <%= @hosts_deny[name].join(",") %> + hosts deny = <%= @hosts_deny[name].sort.join(",") %> <% end -%> - dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz *.7z + dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz *.7z *.xz *.pbf <% end -%>