2012-04-19 05:20:45 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module HostFreeBSD
|
2012-11-07 05:20:22 +00:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 05:20:45 +00:00
|
|
|
name "FreeBSD host"
|
|
|
|
description "FreeBSD host support."
|
|
|
|
|
2014-01-08 05:01:03 +00:00
|
|
|
host("freebsd", "bsd") do
|
|
|
|
require_relative "host"
|
2012-05-23 23:03:14 +00:00
|
|
|
Host
|
|
|
|
end
|
2014-01-08 05:01:03 +00:00
|
|
|
|
|
|
|
host_capability("freebsd", "nfs_export") do
|
|
|
|
require_relative "cap/nfs"
|
|
|
|
Cap::NFS
|
|
|
|
end
|
|
|
|
|
|
|
|
# BSD-specific helpers
|
|
|
|
host_capability("freebsd", "nfs_exports_template") do
|
|
|
|
require_relative "cap/nfs"
|
|
|
|
Cap::NFS
|
|
|
|
end
|
|
|
|
|
|
|
|
host_capability("freebsd", "nfs_restart_command") do
|
|
|
|
require_relative "cap/nfs"
|
|
|
|
Cap::NFS
|
|
|
|
end
|
2012-04-19 05:20:45 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|