24 lines
523 B
Ruby
24 lines
523 B
Ruby
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
|
|
|
|
config("nfs") do
|
|
require File.expand_path("../config", __FILE__)
|
|
Config
|
|
end
|
|
|
|
synced_folder("nfs", 5) do
|
|
require File.expand_path("../synced_folder", __FILE__)
|
|
SyncedFolder
|
|
end
|
|
end
|
|
end
|
|
end
|