projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14463b0
)
Sort rsyncd module definitions
author
Tom Hughes
<tom@compton.nu>
Fri, 14 Oct 2016 21:57:51 +0000
(22:57 +0100)
committer
Tom Hughes
<tom@compton.nu>
Fri, 14 Oct 2016 21:57:51 +0000
(22:57 +0100)
cookbooks/rsyncd/templates/default/rsyncd.conf.erb
patch
|
blob
|
history
diff --git
a/cookbooks/rsyncd/templates/default/rsyncd.conf.erb
b/cookbooks/rsyncd/templates/default/rsyncd.conf.erb
index c70de0ba787ca8c80bf935c141f1aa9f1601815e..5e169129cf7c1d090fb8ed9b29ca2da9ab6700ce 100644
(file)
--- 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] %>