vagrant/plugins/kernel_v1/plugin.rb

42 lines
1.0 KiB
Ruby
Raw Normal View History

2012-04-18 05:12:27 +00:00
require "vagrant"
module VagrantPlugins
2012-06-15 01:49:20 +00:00
module Kernel_V1
2012-04-18 05:12:27 +00:00
# This is the "kernel" of Vagrant and contains the configuration classes
# that make up the core of Vagrant.
class Plugin < Vagrant.plugin("1")
name "kernel"
description <<-DESC
The kernel of Vagrant. This plugin contains required items for even
basic functionality of Vagrant version 1.
DESC
# Core configuration keys provided by the kernel.
config("ssh") do
require File.expand_path("../config/ssh", __FILE__)
SSHConfig
end
config("nfs") do
require File.expand_path("../config/nfs", __FILE__)
NFSConfig
end
config("package") do
require File.expand_path("../config/package", __FILE__)
PackageConfig
end
config("vagrant") do
require File.expand_path("../config/vagrant", __FILE__)
VagrantConfig
end
config("vm") do
require File.expand_path("../config/vm", __FILE__)
VMConfig
end
2012-04-18 05:12:27 +00:00
end
end
end