2013-11-23 00:51:55 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module SyncedFolderNFS
|
|
|
|
class Plugin < Vagrant.plugin("2")
|
|
|
|
name "NFS synced folders"
|
|
|
|
description <<-EOF
|
|
|
|
The NFS synced folders plugin enables you to use NFS as a synced folder
|
|
|
|
implementation.
|
|
|
|
EOF
|
|
|
|
|
2013-11-23 18:49:51 +00:00
|
|
|
config("nfs") do
|
|
|
|
require File.expand_path("../config", __FILE__)
|
|
|
|
Config
|
|
|
|
end
|
|
|
|
|
|
|
|
synced_folder("nfs", 5) do
|
2013-11-23 00:51:55 +00:00
|
|
|
require File.expand_path("../synced_folder", __FILE__)
|
|
|
|
SyncedFolder
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|