vagrant/plugins/providers/virtualbox/plugin.rb

43 lines
1.3 KiB
Ruby
Raw Normal View History

require "vagrant"
module VagrantPlugins
module ProviderVirtualBox
2012-11-07 05:20:55 +00:00
class Plugin < Vagrant.plugin("2")
name "VirtualBox provider"
description <<-EOF
The VirtualBox provider allows Vagrant to manage and control
VirtualBox-based virtual machines.
EOF
provider(:virtualbox, parallel: true) do
require File.expand_path("../provider", __FILE__)
Provider
end
2013-01-13 20:38:51 +00:00
config(:virtualbox, :provider) do
require File.expand_path("../config", __FILE__)
Config
end
end
autoload :Action, File.expand_path("../action", __FILE__)
# Drop some autoloads in here to optimize the performance of loading
# our drivers only when they are needed.
module Driver
autoload :Meta, File.expand_path("../driver/meta", __FILE__)
autoload :Version_4_0, File.expand_path("../driver/version_4_0", __FILE__)
autoload :Version_4_1, File.expand_path("../driver/version_4_1", __FILE__)
2012-09-14 02:11:32 +00:00
autoload :Version_4_2, File.expand_path("../driver/version_4_2", __FILE__)
end
module Model
autoload :ForwardedPort, File.expand_path("../model/forwarded_port", __FILE__)
end
module Util
autoload :CompileForwardedPorts, File.expand_path("../util/compile_forwarded_ports", __FILE__)
end
end
end