Commit Graph

87 Commits

Author SHA1 Message Date
Mitchell Hashimoto e28947f18d Use I18n gem for string database. Refactor exceptions to use I18n. 2010-08-26 21:56:38 -07:00
Mitchell Hashimoto 4be0063d12 Tests for the CLI class 2010-08-23 23:53:27 -07:00
Mitchell Hashimoto d17765c3dd `config.chef.recipe_url` to download cookbooks via chef solo [closes GH-121] 2010-07-28 21:35:00 -07:00
Mitchell Hashimoto 1cbc60de1c Remove `config.package.extension` option. Use `config.package.name` instead. 2010-07-24 09:24:43 -07:00
Mitchell Hashimoto dcd9c2a788 Give proper error message if bad URL given for HTTP box adding 2010-07-24 09:07:37 -07:00
Mitchell Hashimoto f472dbde44 Download the box specified by the URL if it doesn't yet exist [closes GH-113]
Thanks a lot to Vitor Pellegrino for much of the work on this.
2010-07-23 22:23:13 -07:00
Vitor Pellegrino aa32d594ca Adding box_url as a possible option at vagrantfile 2010-07-23 21:41:35 -07:00
Mitchell Hashimoto c1d454dbee Speed up tests by adding "vagrant.test" middleware env to avoid sleeps. 2010-07-21 21:42:14 -07:00
Mitchell Hashimoto 8e82fb2691 Fix tests so they run on Ruby 1.9.2 2010-07-19 20:32:07 -07:00
Mitchell Hashimoto 8168ca3e86 Package action cleans up in the event of some environmental error 2010-07-18 01:13:50 -07:00
Mitchell Hashimoto e2badeb9e1 Concepts of "Hosts" introduced, preparing for host-specific behavior. 2010-07-10 22:07:10 -07:00
Mitchell Hashimoto f558304b50 Goodbye, Actions 2010-07-08 21:35:31 -07:00
Mitchell Hashimoto 67729304a2 Import action. Erroneous environments for actions. 2010-07-04 08:52:01 +02:00
Mitchell Hashimoto 97f82d7140 Better, more unified logging for unison 2010-06-22 23:33:20 -07:00
Mitchell Hashimoto b0879dea6a Rethinking Unison foundation. Tearing things out. 2010-06-19 11:34:37 -07:00
John Bender eec0986bc7 switched directory syncing over to unison 2010-06-05 00:39:25 -07:00
Mitchell Hashimoto 7b6523371c No more `config.vm.project_directory`. The "v-root" shared folder is now a regular shraed folder like everything else. 2010-06-03 22:19:42 -07:00
Mitchell Hashimoto 0e4ae3530a `vagrant ssh` now queries for the ssh forwarded port, rather than relying on config 2010-05-27 18:18:25 -07:00
Mitchell Hashimoto 61bcc761bc Error message is given if there are no auto ports available. 2010-05-27 17:37:48 -07:00
Mitchell Hashimoto b2c2d2a4cc Downloader progress reporter now uses the environment logger 2010-05-20 22:37:39 -07:00
Mitchell Hashimoto 6e7af31616 Resource logger now has a thread-safe progress meter built-in 2010-05-20 22:28:28 -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 91ae6178df Runner loggers now use their @runner.logger instead of "global" logger 2010-05-20 16:46:23 -07:00
Mitchell Hashimoto 470c8de099 Environment uses new logger 2010-05-20 16:36:17 -07:00
John Bender 007ecc5f1c system testing 2010-05-18 23:50:53 -07:00
John Bender 7ac7af15d3 rsync for shared folders added 2010-05-18 23:45:07 -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 2e547bda26 SSH object is now on the VM, rather than the environment 2010-05-07 21:40:32 -07:00
Mitchell Hashimoto d5866a1b54 `vagrant halt` now attempts to gracefully shut down the machine (via System#halt) 2010-04-25 16:27:03 -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 ecdec218b4 Included files in package now go into the include/ directory. 2010-04-12 00:29:26 -07:00
Mitchell Hashimoto c0c3313fdd More redundant test code removing 2010-04-08 23:32:26 -07:00
Mitchell Hashimoto 4e54cc77a2 Remove old test mocks from the pre-instanced environment days 2010-04-08 23:28:53 -07:00
Mitchell Hashimoto 008e533c98 Chef configuration is now pulled into Chef provisioner base. Log level is able to be specified. 2010-04-08 23:17:25 -07:00
Adrian Bravo d87030a798 Added support for env.config.chef.node_name when using ChefServer. 2010-04-02 13:51:31 -07:00
Mitchell Hashimoto 5db99c04d4 Removing references to Vagrant::Env 2010-03-19 21:15:45 -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 8c314e3e17 New Environment class can load home dir, box, and persisted VM 2010-03-18 14:27:53 -07:00
Mitchell Hashimoto 5bdabbc8c8 Can now specify the UID/GID of the shared folders from the Vagrantfile 2010-03-15 12:33:03 -07:00
John Bender 5aeee61e83 action dependencies and unique requirement moved to actions/collection 2010-03-14 22:34:48 -07:00
John Bender 00eecf5bdd moved to key based ssh 2010-03-12 01:19:45 -08:00
Mitchell Hashimoto 9384917b81 Chef server provisioner works. Added the auto-creation of the client key config. 2010-03-10 22:42:42 -08:00
Mitchell Hashimoto df2e80140d Chef server provisioner 2010-03-10 21:57:51 -08:00
Mitchell Hashimoto df648803dd Pull out common chef code into its own abstract provisioner 2010-03-10 19:00:49 -08:00
Mitchell Hashimoto d81e5dc28d Remove all "chef" configuration and moved chef solo provisioning to its own class 2010-03-10 14:27:02 -08:00
Mitchell Hashimoto 3daf48b70c Config class now properly uses class variables. Not sure how this one slipped through the cracks. 2010-03-10 01:07:24 -08:00
Mitchell Hashimoto d818bf856b SSH timeout is now configurable with `config.ssh.timeout` 2010-03-08 19:30:58 -08:00
John Bender 0cdc6b5eaa moved hanging dotfile_name under Vagrant.config.vagrant 2010-03-04 23:50:08 -08:00
Mitchell Hashimoto 9913c07ff2 Box download action now uses Vagrant "Downloaders." These are abstractions which will allow me to implement file downloading, http downloading etc. File downloading implemented here. 2010-02-28 21:42:38 -08:00