X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/faf8ae12e85eabb050b0f5eceb2cb67ad1de5261..4d070d547e9354450610c60e28827683ca5eb0bf:/cookbooks/nfs/templates/default/exports.erb diff --git a/cookbooks/nfs/templates/default/exports.erb b/cookbooks/nfs/templates/default/exports.erb index ba812c7c6..f0f0a7688 100644 --- a/cookbooks/nfs/templates/default/exports.erb +++ b/cookbooks/nfs/templates/default/exports.erb @@ -1,6 +1,8 @@ # DO NOT EDIT - This file is being maintained by Chef -<% @exports.each do |directory,clients| -%> -<%= directory -%> -sync,subtree_check<% clients.each do |address,options| -%> <%= address -%>(<%= options -%>)<% end %> +<% @exports.sort.each do |directory,clients| -%> +<% clients.sort.each do |address,options| -%> +<%= directory -%> -sync,subtree_check,<%= options %> <%= address %> <% end -%> -/store/planet -sync,subtree_check 146.179.159.168(rw) 146.179.159.170(rw) 128.40.168.104(ro) 128.40.168.103(ro) 128.40.168.100(ro) +<% end -%> +/store/planet -sync,subtree_check,rw 146.179.159.168 146.179.159.170