Mark core config classes as upgrade safe

This commit is contained in:
Mitchell Hashimoto 2012-11-03 21:41:04 -07:00
parent 59d5c5ed92
commit 399437e758
1 changed files with 9 additions and 6 deletions

View File

@ -11,28 +11,31 @@ module VagrantPlugins
basic functionality of Vagrant version 1.
DESC
# Core configuration keys provided by the kernel.
config("ssh") do
# 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
require File.expand_path("../config/ssh", __FILE__)
SSHConfig
end
config("nfs") do
config("nfs", true) do
require File.expand_path("../config/nfs", __FILE__)
NFSConfig
end
config("package") do
config("package", true) do
require File.expand_path("../config/package", __FILE__)
PackageConfig
end
config("vagrant") do
config("vagrant", true) do
require File.expand_path("../config/vagrant", __FILE__)
VagrantConfig
end
config("vm") do
config("vm", true) do
require File.expand_path("../config/vm", __FILE__)
VMConfig
end