]> git.openstreetmap.org Git - chef.git/commitdiff
Avoid relying on per-host options in NFS export files
authorTom Hughes <tom@compton.nu>
Sun, 26 Oct 2014 19:26:43 +0000 (19:26 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 26 Oct 2014 19:26:43 +0000 (19:26 +0000)
cookbooks/nfs/templates/default/exports.erb

index 0c2eb6ce7e335d72c141beab89b2d60766cf0d80..f0f0a76887ed932e5705b03a4d4e2e71f288bda5 100644 (file)
@@ -1,6 +1,8 @@
 # DO NOT EDIT - This file is being maintained by Chef
 
 <% @exports.sort.each do |directory,clients| -%>
-<%= directory -%> -sync,subtree_check<% clients.sort.each do |address,options| -%> <%= address -%>(<%= options -%>)<% end %>
+<% 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)
+<% end -%>
+/store/planet -sync,subtree_check,rw 146.179.159.168 146.179.159.170