]> git.openstreetmap.org Git - chef.git/commitdiff
Sort rsyncd module definitions
authorTom Hughes <tom@compton.nu>
Fri, 14 Oct 2016 21:57:51 +0000 (22:57 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 14 Oct 2016 21:57:51 +0000 (22:57 +0100)
cookbooks/rsyncd/templates/default/rsyncd.conf.erb

index c70de0ba787ca8c80bf935c141f1aa9f1601815e..5e169129cf7c1d090fb8ed9b29ca2da9ab6700ce 100644 (file)
@@ -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] %>