vagrant/plugins/hosts/bsd/plugin.rb

54 lines
1.1 KiB
Ruby
Raw Normal View History

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
2012-04-19 01:20:45 -04:00
require "vagrant"
module VagrantPlugins
module HostBSD
2012-11-07 00:20:22 -05:00
class Plugin < Vagrant.plugin("2")
2012-04-19 01:20:45 -04:00
name "BSD host"
description "BSD host support."
host("bsd") do
2012-05-23 19:03:14 -04:00
require File.expand_path("../host", __FILE__)
Host
end
2014-01-07 23:39:24 -05:00
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
2012-04-19 01:20:45 -04:00
end
end
end