mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-02-03 20:39:27 -05:00
34 lines
731 B
Ruby
34 lines
731 B
Ruby
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
require "vagrant"
|
|
|
|
module VagrantPlugins
|
|
module HostFreeBSD
|
|
class Plugin < Vagrant.plugin("2")
|
|
name "FreeBSD host"
|
|
description "FreeBSD host support."
|
|
|
|
host("freebsd", "bsd") do
|
|
require_relative "host"
|
|
Host
|
|
end
|
|
|
|
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
|
|
end
|
|
end
|
|
end
|