vagrant/plugins/hosts
Jon Topper 7b30e557cd hosts/bsd: sort NFS exports to avoid false validation errors [GH-2927]
With a synced folder configuration like so:

 synced_folder ".", "/vagrant", :nfs => true
 synced_folder "#{ENV['HOME']}/mirror", "/mirror", :nfs => true
 synced_folder ENV['HOME'], "/home/#{ENV['USER']}", :nfs => true

on OSX, vagrant writes two overlapping exports to /etc/exports
which then fail the export check.

Iterating through the list of folders lexically builds a correct, single
exports entry.

Signed-off-by: Teemu Matilainen <teemu.matilainen@iki.fi>
2014-02-21 23:43:11 -03:00
..
arch many more hosts converted 2014-01-07 21:11:59 -08:00
bsd hosts/bsd: sort NFS exports to avoid false validation errors [GH-2927] 2014-02-21 23:43:11 -03:00
freebsd hosts/bsd: don't execute shell for sudo commands [GH-2808] 2014-01-12 22:34:45 -08:00
gentoo hosts/gentoo: more robust check for systemctl path on Gentoo 2014-01-18 11:03:46 -08:00
linux nfs_apply :: exportfs sometimes leaves exports behind 2014-01-17 10:54:17 +01:00
null hosts/null: needs to accept env as param 2014-01-07 21:14:33 -08:00
opensuse hosts/opensuse: start NFS server properly [GH-2923] 2014-02-03 12:18:09 +01:00
redhat hosts/redhat: recognize Korora [GH-2869] 2014-01-21 09:50:20 -08:00
slackware hosts/*: proper detect API 2014-01-07 21:18:36 -08:00
windows hosts/*: proper detect API 2014-01-07 21:18:36 -08:00