X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/3df889a306ff840dcef07e5dd287aa6ecba76fa5..e92ed5e09215d67f2bd7dc21a32425d7ec5aa26f:/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 5e169129c..73b6dbe4d 100644 --- a/cookbooks/rsyncd/templates/default/rsyncd.conf.erb +++ b/cookbooks/rsyncd/templates/default/rsyncd.conf.erb @@ -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 -%>