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
|
|
|
|
|
2012-11-04 04:41:04 +00:00
|
|
|
# Core configuration keys provided by the kernel. Note that all
|
|
|
|
# the kernel configuration classes are marked as _upgrade safe_ (the
|
|
|
|
# true 2nd param). This means that these can be loaded in ANY version
|
|
|
|
# of the core of Vagrant.
|
|
|
|
config("ssh", true) do
|
2012-05-23 23:04:41 +00:00
|
|
|
require File.expand_path("../config/ssh", __FILE__)
|
2012-11-04 03:29:34 +00:00
|
|
|
SSHConfig
|
|
|
|
end
|
|
|
|
|
2012-11-04 04:41:04 +00:00
|
|
|
config("nfs", true) do
|
2012-05-23 23:04:41 +00:00
|
|
|
require File.expand_path("../config/nfs", __FILE__)
|
2012-11-04 03:29:34 +00:00
|
|
|
NFSConfig
|
|
|
|
end
|
|
|
|
|
2012-11-04 04:41:04 +00:00
|
|
|
config("package", true) do
|
2012-05-23 23:04:41 +00:00
|
|
|
require File.expand_path("../config/package", __FILE__)
|
2012-11-04 03:29:34 +00:00
|
|
|
PackageConfig
|
|
|
|
end
|
|
|
|
|
2012-11-04 04:41:04 +00:00
|
|
|
config("vagrant", true) do
|
2012-05-23 23:04:41 +00:00
|
|
|
require File.expand_path("../config/vagrant", __FILE__)
|
2012-11-04 03:29:34 +00:00
|
|
|
VagrantConfig
|
2012-05-23 23:04:41 +00:00
|
|
|
end
|
|
|
|
|
2012-11-04 04:41:04 +00:00
|
|
|
config("vm", true) do
|
2012-11-04 03:29:34 +00:00
|
|
|
require File.expand_path("../config/vm", __FILE__)
|
|
|
|
VMConfig
|
|
|
|
end
|
2012-04-18 05:12:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|