Chris Roberts 8f42dbff21 Add a resolve_host_path capability for bsd and darwin hosts
For bsd the resolve_host_path capability is a no-op. For darwin
hosts, if firmlinks are defined on the system, paths will be properly
resolved to real path.
2019-10-08 16:41:48 -07:00

51 lines
1.1 KiB
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
host_capability("bsd", "resolve_host_path") do
require_relative "cap/path"
Cap::Path
end
host_capability("bsd", "set_ssh_key_permissions") do
require_relative "cap/ssh"
Cap::SSH
end
end
end
end