409 Commits

Author SHA1 Message Date
Mitchell Hashimoto
a206d23bc7 No need to reference Vagrant namespace directly here... 2010-08-26 23:33:44 -07:00
Mitchell Hashimoto
58237db675 Remove unused methods in environment and their translations 2010-08-26 23:30:24 -07:00
Mitchell Hashimoto
afab53bf9f Scope errors into the Errors namespace. VirtualBox version errors converted to I18n 2010-08-26 23:21:28 -07:00
Mitchell Hashimoto
6d15a1dd64 Moved the resource name to a helper method in environment 2010-08-26 20:22:20 -07:00
Mitchell Hashimoto
aaac5fbf1e Get rid of all Ruby warnings in Vagrant 2010-08-25 23:21:23 -07:00
Mitchell Hashimoto
b21fae99c5 Child UIs successfully set environment to themselves 2010-08-25 22:30:57 -07:00
Mitchell Hashimoto
5e0a7d946e Child environment UIs match the parent 2010-08-25 22:24:52 -07:00
Mitchell Hashimoto
64c3d46e1c UI class has a reference to the environment 2010-08-25 21:39:47 -07:00
Mitchell Hashimoto
1facebc3d9 Got rid of global Vagrant.ui. Moved to Environment#ui 2010-08-24 10:37:00 -07:00
Mitchell Hashimoto
0ddda8f591 Remove all old commands. They're all being rewritten 2010-08-24 09:19:16 -07:00
Mitchell Hashimoto
5e42f8bbb2 Began work on new CLI. 2010-08-23 23:44:42 -07:00
Mitchell Hashimoto
4844d6c12f Moved standard library requirements to the files which use them. Cleaned up vagrant.rb quite a bit. 2010-08-23 21:43:46 -07:00
Mitchell Hashimoto
cd82c8d7f8 Get rid of the PROJECT_ROOT constant. 2010-08-23 21:33:14 -07:00
Mitchell Hashimoto
555b5af2a8 Remove Environment#require_box since it is no longer used 2010-07-23 22:37:38 -07:00
Mitchell Hashimoto
061bdad68a Move ResourceLogger to the Util namespace since thats more of what it is 2010-07-19 21:50:47 -07:00
Mitchell Hashimoto
cb730c3410 If SIGINT is called during a sequence with an import, VM is properly destroyed 2010-07-18 08:39:31 -07:00
Mitchell Hashimoto
e2badeb9e1 Concepts of "Hosts" introduced, preparing for host-specific behavior. 2010-07-10 22:07:10 -07:00
Mitchell Hashimoto
bad5ba559f Actions on Environment and making them runnable 2010-07-04 03:48:16 +02:00
Mitchell Hashimoto
9e931dd350 VirtualBox minimum version bumped to 3.2 2010-06-17 23:08:38 -07:00
Mitchell Hashimoto
7a093340bf VM definition blocks are now stackable. [closes GH-94] 2010-06-03 19:20:15 -07:00
Mitchell Hashimoto
eb30074eea Oops, File.rm => File.delete 2010-05-29 13:21:57 -07:00
Mitchell Hashimoto
46e9250f09 Remove the dotfile (.vagrant) if no more active VMs exist 2010-05-29 12:15:55 -07:00
Mitchell Hashimoto
687b925d2e Concept of a 'primary' VM in a multi-VM environment added. This VM will be the default for actions in a multi-VM environment. 2010-05-27 22:54:11 -07:00
Mitchell Hashimoto
6e757e7ab7 Remove logger from the VM and put it on the environment 2010-05-20 20:35:15 -07:00
Mitchell Hashimoto
470c8de099 Environment uses new logger 2010-05-20 16:36:17 -07:00
Mitchell Hashimoto
709c50e7b6 vagrant status updated to work with multi-VM. Global status not yet functional. 2010-05-16 17:40:40 -07:00
Mitchell Hashimoto
0314e6ef6c Persist/depersist VM methods replaced with dotfile updates. Active list information disabled for now. 2010-05-16 16:53:56 -07:00
Mitchell Hashimoto
33bfe75cbd Environment loads blank VMs for non-created VMs. 2010-05-15 01:34:31 -07:00
Mitchell Hashimoto
3e4a20d919 Slight cosmetic changes to get things working with emacs highlighter and commenting 2010-05-14 23:25:12 -07:00
Mitchell Hashimoto
c8e36274d6 Get rid of Environment#create_vm. VMs instances are now always available 2010-05-08 20:31:12 -07:00
Mitchell Hashimoto
124a9ab19d Environment properly loads VMs 2010-05-08 15:34:43 -07:00
Mitchell Hashimoto
b313d34d5b Environment config loading loads the subconfig if specified. VMs now create a new env for themselves. 2010-05-08 14:57:31 -07:00
Mitchell Hashimoto
b1b4ae2077 Remove SSH object from environment 2010-05-07 21:45:40 -07:00
Mitchell Hashimoto
fee901a899 Remove remaining Vagrant.config references. There a still a couple left... 2010-04-25 17:17:18 -07:00
Mitchell Hashimoto
95938c652d New abstraction: Systems. Updated config and environment to properly load configured system.
This allows the OS-specific tasks to be pulled out into separate classes, so that other systems could potentially be supported. For now, a "Linux" system has been created.
2010-04-25 01:46:51 -07:00
Mitchell Hashimoto
28eb56b9f8 Error if OSE version is detected 2010-04-19 17:06:27 -07:00
Mitchell Hashimoto
d8387f8280 New files for the new command structure. Ignore the vagrant-temp binary for now. 2010-04-13 01:22:53 -07:00
Mitchell Hashimoto
f8dee9adf9 Base boxes can now be packaged with vagrant package by specifying the --base parameter. 2010-04-12 16:29:33 -07:00
Mitchell Hashimoto
068c0e67c5 Update environment to use new VirtualBox methods/attributes 2010-04-08 01:13:25 -07:00
John Bender
0c00201a6b switch to File.open for downloader temp file path to prevent minitar issues on windows 2010-03-21 23:50:08 -07:00
Mitchell Hashimoto
35e9fa53d4 Vagrant::Commands moved to instance methods on the environment rather than class methods 2010-03-20 09:15:20 -07:00
Mitchell Hashimoto
1d518e2693 Box.find sets environment of found box 2010-03-20 01:04:56 -07:00
Mitchell Hashimoto
ea25f49c63 Pass environment to box.find 2010-03-20 00:50:59 -07:00
Mitchell Hashimoto
e8e2c136d3 Finally remove Vagrant::Env 2010-03-19 23:56:36 -07:00
Mitchell Hashimoto
11780fb618 Converted Box class to use new environment 2010-03-19 21:31:43 -07:00
Mitchell Hashimoto
5db99c04d4 Removing references to Vagrant::Env 2010-03-19 21:15:45 -07:00
Mitchell Hashimoto
fddee1158d vagrant package now uses the environment 2010-03-19 17:05:31 -07:00
Mitchell Hashimoto
b5daf5ae86 vagrant down command and associated actions now use the new environment 2010-03-19 16:08:29 -07:00
Mitchell Hashimoto
59ae16998d Set the environment on the loaded box 2010-03-19 15:53:24 -07:00
Mitchell Hashimoto
260b099dba SSH class converted to instance methods. now loads on the environment 2010-03-19 01:51:27 -07:00