]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nfs/templates/default/exports.erb
Use strings for file modes
[chef.git] / cookbooks / nfs / templates / default / exports.erb
index ba812c7c6afa7f191fab894d2903cdaacefee0ad..7c5c2a52692e699faddb6c52da9c72b04d7e2445 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 10.0.48.50 10.0.48.5