From: Tom Hughes Date: Fri, 14 Oct 2016 21:57:51 +0000 (+0100) Subject: Sort rsyncd module definitions X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/3df889a306ff840dcef07e5dd287aa6ecba76fa5 Sort rsyncd module definitions --- diff --git a/cookbooks/rsyncd/templates/default/rsyncd.conf.erb b/cookbooks/rsyncd/templates/default/rsyncd.conf.erb index c70de0ba7..5e169129c 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] %>