2010-04-25 07:51:45 +00:00
|
|
|
libdir = File.join(File.dirname(__FILE__), "vagrant")
|
|
|
|
PROJECT_ROOT = File.join(libdir, '..', "..") unless defined?(PROJECT_ROOT)
|
2010-02-10 07:08:23 +00:00
|
|
|
|
2010-04-25 07:51:45 +00:00
|
|
|
# First, load the various libs which Vagrant requires
|
2010-05-29 17:54:27 +00:00
|
|
|
%w{tempfile json pathname logger virtualbox net/ssh archive/tar/minitar
|
2010-03-25 06:54:35 +00:00
|
|
|
net/scp fileutils mario}.each do |lib|
|
2010-03-13 11:08:26 +00:00
|
|
|
require lib
|
|
|
|
end
|
|
|
|
|
2010-04-25 07:51:45 +00:00
|
|
|
# Then load the glob loader, which will handle loading everything else
|
|
|
|
require File.expand_path("util/glob_loader", libdir)
|
2010-02-13 19:43:58 +00:00
|
|
|
|
2010-04-25 07:51:45 +00:00
|
|
|
# Load them up
|
2010-05-21 05:54:48 +00:00
|
|
|
Vagrant::GlobLoader.glob_require(libdir, %w{util/stacked_proc_runner
|
2010-07-09 04:35:31 +00:00
|
|
|
downloaders/base config provisioners/base provisioners/chef systems/base commands/base commands/box})
|
2010-07-04 02:58:03 +00:00
|
|
|
|
|
|
|
# Initialize the built-in actions
|
|
|
|
Vagrant::Action.builtin!
|