]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nfs/templates/default/exports.erb
Avoid relying on per-host options in NFS export files
[chef.git] / cookbooks / nfs / templates / default / exports.erb
index ba812c7c6afa7f191fab894d2903cdaacefee0ad..f0f0a76887ed932e5705b03a4d4e2e71f288bda5 100644 (file)
@@ -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