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
Mitchell Hashimoto
7c19419ef2
Package uses a reference to the Export action to get the temp path rather than the wonky callback. Implemented Runner#find_action for this.
2010-02-28 20:23:32 -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
1856d56431
Box downloading works (Actions::Box::Download)
2010-02-22 17:34:44 -08:00
John Bender
c644cfad1a
package and unpackage moved to tar, tarruby added
2010-02-19 00:54:49 -08:00
John Bender
1c045bd447
refactored package into actions: export, package
2010-02-15 22:53:52 -08:00
Mitchell Hashimoto
2babb25686
Added before/after callbacks around import to stabilize persisting of VM UUID.
2010-02-15 22:47:26 -08:00
Mitchell Hashimoto
4ea8300766
Move hard drive action.
2010-02-15 22:40:58 -08:00
Mitchell Hashimoto
dd5abc5452
Implemented "around" callbacks on VM for convenient `before_foo` and `after_foo` callbacks
2010-02-15 19:02:23 -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
6a79c4268b
Added before/after callbacks around import to stabilize persisting of VM UUID.
2010-02-14 23:48:44 -08:00
Mitchell Hashimoto
1753d97d45
Move hard drive action.
2010-02-14 22:27:06 -08:00
Mitchell Hashimoto
1a89e50da7
Import action
2010-02-13 11:56:33 -08:00
Mitchell Hashimoto
03079d9fa6
Get rid of "VAGRANT_ENV" since that was just a hack. Log output location configurable now.
2010-02-10 13:59:25 -08:00
Mitchell Hashimoto
c1998d2127
And then God said unto thee, "You shall be named Vagrant."
2010-02-09 23:08:23 -08:00
Mitchell Hashimoto
8abb4e1d6e
Provisioning now generates a DNA JSON file and uploads it to the /tmp directory for use. Fixed some issues with SCPing.
2010-02-09 18:16:19 -08:00
Mitchell Hashimoto
168c7e0f39
Provisioning beginning. Not much done yet.
2010-02-09 00:31:52 -08:00
Mitchell Hashimoto
7fd4ee0160
Shared folder is now properly mounted on hobo-up
2010-02-06 00:01:47 -08:00
Mitchell Hashimoto
3b53bdc79e
Updated to bundler 0.9.3 gemfile format
2010-02-05 23:41:22 -08:00
Mitchell Hashimoto
21b1aa50f7
Rename config values for SSH to more human terms
2010-02-03 00:17:32 -08:00
Mitchell Hashimoto
7971d656fe
Implement `forward_port` method for VMs in configuration
2010-02-03 00:02:12 -08:00
Mitchell Hashimoto
c9d341ae2b
Hobo::Config revamp
2010-02-01 22:14:40 -08:00
Mitchell Hashimoto
303cc90a12
Waiting for a VM to boot maxes out (configurable # of times)
2010-01-31 22:38:00 -08:00
Mitchell Hashimoto
f4cc3d430b
Hobo up creates the VM, matches MAC addresses for NAT, port forwards SSH.
2010-01-30 00:07:58 -08:00
John Bender
e98e9eba24
"load! load_config! load_uuid! and a persisted_uuid added to Hobo::Env"
2010-01-29 23:22:58 -08:00
Mitchell Hashimoto
5f5b080464
Whitespace
2010-01-29 20:40:43 -08:00
Mitchell Hashimoto
ed22b555f4
Logging environments (silence for tests) and some test refactor
2010-01-29 20:38:36 -08:00
John Bender
6ea3fe39b9
compacted class default value class methods in ssh, and tightened up the tests
2010-01-26 20:49:22 -08:00