55 Commits

Author SHA1 Message Date
Mitchell Hashimoto
b1a16a7b3d vagrant down is now vagrant destroy 2010-04-09 21:39:38 -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
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
bafd15661d vagrant box uses new Environment 2010-03-19 17:17:51 -07:00
Mitchell Hashimoto
32a951cb6c Removed unused method on Vagrant::Command 2010-03-19 17:10:09 -07:00
Mitchell Hashimoto
fddee1158d vagrant package now uses the environment 2010-03-19 17:05:31 -07:00
Mitchell Hashimoto
0641df7563 vagrant resume command now uses new environment 2010-03-19 16:53:18 -07:00
Mitchell Hashimoto
c7508e91b9 vagrant suspend update to work with new environment 2010-03-19 16:51:59 -07:00
Mitchell Hashimoto
e68994556c vagrant reload uses new Environment 2010-03-19 16:50:54 -07:00
Mitchell Hashimoto
b461e0ee8b vagrant halt uses new environment 2010-03-19 16:48:36 -07:00
Mitchell Hashimoto
259a3a3836 vagrant ssh with new Environment 2010-03-19 16:47:38 -07:00
Mitchell Hashimoto
e1c4f91664 ForwardPort action converted to new environment 2010-03-19 16:16:03 -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
260b099dba SSH class converted to instance methods. now loads on the environment 2010-03-19 01:51:27 -07:00
Mitchell Hashimoto
18f761b015 Unit tests for each error_and_exit now that the message is testable 2010-03-17 21:15:48 -07:00
Mitchell Hashimoto
3c2e1bd80a All errors now go through the errors.yml files 2010-03-17 21:08:26 -07:00
Mitchell Hashimoto
88cfaf8f27 Added class level method to render string for the TemplateRenderer 2010-03-17 19:09:17 -07:00
Mitchell Hashimoto
c6e39ddbf0 Removed namespace from command usage of TemplateRenderer, since we extend that into the class 2010-03-17 18:00:30 -07:00
Mitchell Hashimoto
b1872c4e31 Moved template renderer until the Util namespace 2010-03-17 17:59:25 -07:00
Mitchell Hashimoto
4229b65a81 vagrant init now takes an optional parameter to specify the default box [close GH-6] 2010-03-17 17:15:12 -07:00
Mitchell Hashimoto
42007f6b80 A very basic vagrant status command, which simply outputs the status of the environment (whether it has been created, its on, its off, etc.) 2010-03-14 18:35:18 -07:00
Mitchell Hashimoto
8057e1e94e vagrant box list added to error message for invalid subcommand to vagrant box 2010-03-14 14:57:39 -07:00
Jonathan Rudenberg
68d709eab9 Fix reference to File.cp since no longer using ftools 2010-03-09 09:51:57 -08:00
Mitchell Hashimoto
ce7f7dd168 Refactor Vagrant::Env a bit and requiring root path. 2010-03-08 00:34:15 -08:00
Mitchell Hashimoto
efe98df4b0 Added vagrant box list command to list added boxes 2010-03-07 21:34:53 -08:00
Mitchell Hashimoto
6194421972 vagrant box no longer requires a Vagrantfile in the current directory. 2010-03-07 12:44:00 -08:00
Mitchell Hashimoto
da2150da89 Resume uses the resume action now 2010-03-04 21:22:25 -08:00
Mitchell Hashimoto
0a791d1c58 Suspending moved out to an action, command takes advantage of this action now. 2010-03-04 21:13:17 -08:00
Mitchell Hashimoto
c7f040f14c vagrant-up now starts the VM if its already created, rather than giving an error. 2010-03-02 22:07:04 -08:00
Mitchell Hashimoto
c119a34f0e Added vagrant-halt to forcibly shut down vagrant instance. 2010-03-02 21:53:16 -08:00
John Bender
79718eb4c3 --include added to package tests passing, but still needs manual verification 2010-02-27 22:49:43 -08:00
Mitchell Hashimoto
26f9eca141 Reworked vagrant package to use the new tmp directory. 2010-02-24 00:30:58 -08:00
Mitchell Hashimoto
1a6f838baa vagrant up (specifically Actions::VM::Import) now uses a configured box rather than a base VM. Much cleaner! 2010-02-23 00:05:41 -08:00
Mitchell Hashimoto
10e67e85f0 Removed unpackage VM action (since its part of box now) 2010-02-22 23:09:19 -08:00
Mitchell Hashimoto
546db294ca vagrant box remove functionality is in 2010-02-22 21:27:57 -08:00
Mitchell Hashimoto
28b48929df Changed box actions and commands to use the Box class instead of passed in params. 2010-02-22 18:17:43 -08:00
Mitchell Hashimoto
1856d56431 Box downloading works (Actions::Box::Download) 2010-02-22 17:34:44 -08:00
Mitchell Hashimoto
35762a4308 Moved VM actions into the Actions::VM namespace. 2010-02-22 16:25:47 -08:00
Mitchell Hashimoto
f60b383b75 vagrant box command with primitive functionality is in. Doesn't do anything productive yet. 2010-02-22 16:13:53 -08:00
John Bender
c644cfad1a package and unpackage moved to tar, tarruby added 2010-02-19 00:54:49 -08:00
John Bender
a690b13f78 unpackage added, still uses zlib 2010-02-17 15:45:06 -08:00
Mitchell Hashimoto
e855ae9965 vagrant-reload works 2010-02-16 15:48:03 -08:00
Mitchell Hashimoto
7c61792b19 Stubbed vagrant-reload command 2010-02-16 13:04:18 -08:00
John Bender
1c045bd447 refactored package into actions: export, package 2010-02-15 22:53:52 -08:00
Mitchell Hashimoto
3c42db7dfe Merge branch 'runners' which brings in the "actions" model. 2010-02-15 15:25:22 -08:00
John Bender
c9d0d0d9d9 packaging and unpackaging 2010-02-15 14:49:47 -08:00
Mitchell Hashimoto
11f4876b9d vagrant-up now uses pure actions rather than the hardcoded sequential instant methods. Provisioning not yet working, and moving hard drives not yet implemented. 2010-02-14 23:12:36 -08:00
Mitchell Hashimoto
cb2f1ff402 Fixed a bug with forwarded ports action 2010-02-14 22:59:01 -08:00
John Bender
9e3a57fc36 package command 2010-02-12 00:14:08 -08:00