2012-04-19 05:20:45 +00:00
|
|
|
require "vagrant"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module HostBSD
|
2012-11-07 05:20:22 +00:00
|
|
|
class Plugin < Vagrant.plugin("2")
|
2012-04-19 05:20:45 +00:00
|
|
|
name "BSD host"
|
|
|
|
description "BSD host support."
|
|
|
|
|
2012-05-23 23:03:14 +00:00
|
|
|
host("bsd") do
|
|
|
|
require File.expand_path("../host", __FILE__)
|
|
|
|
Host
|
|
|
|
end
|
2014-01-08 04:39:24 +00: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
|
2018-06-12 17:49:10 +00:00
|
|
|
|
|
|
|
host_capability("bsd", "set_ssh_key_permissions") do
|
|
|
|
require_relative "cap/ssh"
|
|
|
|
Cap::SSH
|
|
|
|
end
|
2012-04-19 05:20:45 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|