41 lines
840 B
Ruby
41 lines
840 B
Ruby
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module HostBSD
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "BSD host"
|
|
description "BSD host support."
|
|
|
|
host("bsd") do
|
|
require File.expand_path("../host", __FILE__)
|
|
Host
|
|
end
|
|
|
|
host_capability("bsd", "nfs_export") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
|
|
host_capability("bsd", "nfs_exports_template") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
|
|
host_capability("bsd", "nfs_installed") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
|
|
host_capability("bsd", "nfs_prune") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
|
|
host_capability("bsd", "nfs_restart_command") do
|
|
require_relative "cap/nfs"
|
|
Cap::NFS
|
|
end
|
|
end
|
|
end
|
|
end
|