Commit Graph

212 Commits

Author SHA1 Message Date
Wayne E. Seguin 9990311f20 Added Fedora 16 handling. 2012-03-04 18:42:37 -05:00
Achim Herwig 7c1fcbdde0 Added openSuSE as host system.
Init script for NFS-server differs.
2012-02-28 11:55:39 +01:00
Mitchell Hashimoto 2f420705da Output version at the top of every log 2012-02-22 10:00:19 -08:00
Mitchell Hashimoto fbcb2c6ddc Merge branch 'f-vagrant-gem' 2012-02-07 22:42:34 -08:00
Mike Lundy 00953073e7 Add Gentoo support for NFS 2012-02-07 21:14:47 -08:00
Mitchell Hashimoto 13fddfa6f9 Load plugins with the private gem path.
This changed plugin loading semantics a tiny bit, since they are
no longer loaded when Vagrant is loaded but instead when the
Vagrant::Environment is initialized. I'll note this in the CHANGELOG.
2012-02-06 22:39:35 -05:00
Mitchell Hashimoto d19f7a44e5 Starting on the `vagrant gem` command. 2012-02-06 22:16:37 -05:00
Mitchell Hashimoto 88ba3a3619 Change middleware internals to make plugin lives easier [GH-684] 2012-01-28 17:31:50 -08:00
Mitchell Hashimoto 527b79853c Log output now goes on stderr by stdout 2012-01-19 17:12:18 -08:00
Mitchell Hashimoto 3ab8aaa1b0 Clarify invalid log level message [GH-645] 2012-01-18 09:40:51 -08:00
Mitchell Hashimoto ba5cd9b88a Windows host 2012-01-08 11:14:01 -08:00
Mitchell Hashimoto a94cf520c6 Log4r levels need to be defined before we can check for them 2012-01-07 21:16:40 -08:00
Mike Fiedler e05bfb7efc missing bracket closure fails rake tests 2012-01-07 21:16:28 -08:00
Mitchell Hashimoto 87b1a6660d Handle invalid log levels more gracefully 2012-01-07 21:16:22 -08:00
Mitchell Hashimoto 00a31ff27b Communication abstraction. Started SSH. 2012-01-06 20:07:31 -08:00
Mitchell Hashimoto 4c7059eaf6 Remove virtualbox dep 2011-12-21 14:36:51 -08:00
Mitchell Hashimoto 9debf5abe9 Attach a driver to each VM. Use that to detect VirtualBox. 2011-12-20 21:20:45 -08:00
Mitchell Hashimoto 98df762f8c `vagrant init` uses new OptParse based CLI 2011-12-17 21:06:00 -08:00
Mitchell Hashimoto 9bdff4c507 Styling 2011-12-17 19:53:57 -08:00
Mitchell Hashimoto e29c5436e1 Box commands 2011-12-17 19:52:48 -08:00
Mitchell Hashimoto 780722386b `vagrant status` 2011-12-17 17:36:11 -08:00
Mitchell Hashimoto 1176c65138 `vagrant ssh-config` 2011-12-17 17:29:52 -08:00
Mitchell Hashimoto e34f0a8af7 `vagrant ssh` 2011-12-17 17:24:02 -08:00
Mitchell Hashimoto 19adc3189d `vagrant package` 2011-12-17 16:58:54 -08:00
Mitchell Hashimoto bdc39aa2e0 Suspend command 2011-12-17 12:04:35 -08:00
Mitchell Hashimoto c5ec4b4a30 Provision, reload, resume 2011-12-17 11:53:26 -08:00
Mitchell Hashimoto 6c7e88c3ec `vagrant halt` 2011-12-17 11:14:56 -08:00
Mitchell Hashimoto e71007d47e `vagrant destroy` 2011-12-17 11:05:49 -08:00
Mitchell Hashimoto 43cadfe830 `vagrant up` 2011-12-17 09:14:05 -08:00
Mitchell Hashimoto 27491b554c Remove thor from requirements. Start revamping Vagrant::CLI 2011-12-16 23:34:30 -08:00
Mitchell Hashimoto 1fcca71ce9 Re-namespace all systems to the Vagrant::Guest module 2011-12-15 21:05:19 -08:00
Mitchell Hashimoto eda286b476 Config classes are registered via a registry now 2011-12-15 20:32:33 -08:00
Mitchell Hashimoto e5303a82e0 Autoload provisioners. 2011-12-14 22:49:14 -08:00
Mitchell Hashimoto b428072bb5 Provisioners use the registry. Cleaned up the way config classes are searched for. 2011-12-14 22:43:45 -08:00
Mitchell Hashimoto ee33588d10 Clean up system loading quite a bit 2011-12-12 00:03:28 -08:00
Mitchell Hashimoto cdc01c449d Re-order things in vagrant.rb slightly 2011-12-11 23:24:23 -08:00
Mitchell Hashimoto 668bab0ba9 Better host loading scheme 2011-12-11 23:22:44 -08:00
Mitchell Hashimoto e201d9cacf Rename action registry to just Vagrant::Registry 2011-12-11 18:22:06 -08:00
Mitchell Hashimoto bbb8f0ac2c Integrate new action runner/registry into Vagrant::Environment 2011-12-09 14:39:39 -08:00
Mitchell Hashimoto e38e3cc652 Move VAGRANT_LOG logic into vagrant.rb so VAGRANT_LOG is always available 2011-12-03 17:12:07 -08:00
Mitchell Hashimoto 881045a85f Find a way to autoload 'vagrant/ssh' since that is a slow loader.
This involved realizing that requiring 'openssl' in the context
of an autoload causes some strange exceptions down the road. See this
gist for the error: https://gist.github.com/dd0b105bf9edcb7daa85
2011-07-09 11:12:15 -07:00
Mitchell Hashimoto 29db4aefd5 Load vagrant/version so that `vagrant version` works again 2011-01-07 01:25:54 -08:00
Mitchell Hashimoto 9e27355d0e Fix weird exception from autoloading Vagrant::SSH 2011-01-07 01:22:52 -08:00
Mitchell Hashimoto 8d529931ef Be gone glob loader! Move everything to autoload or explicit require. 2011-01-07 01:12:16 -08:00
Mitchell Hashimoto cb69377b06 Remove Radar until next release. 2010-09-21 10:11:16 -06:00
Mitchell Hashimoto bae6c57230 Expose test helpers [closes GH-162] 2010-09-15 09:19:38 -06:00
Mitchell Hashimoto d5fbf29ec0 Plugins. Documentation coming shortly. 2010-09-14 23:10:51 -06:00
Mitchell Hashimoto 0ee21998f6 New BoxCollection class to keep track of all boxes. 2010-09-11 10:17:26 -07:00
Mitchell Hashimoto 260f1dcec4 Refined some tests to use real Vagrantfiles instead of mocks 2010-09-03 19:25:48 -07:00
Mitchell Hashimoto 59e1e43c74 Autoload the util classes. HashWithIndifferentAccess for data store 2010-09-03 09:33:15 -07:00
Mitchell Hashimoto 4d87f198d7 Vagrant::DataStore which will be used soon for the dotfile in the project directory 2010-09-01 22:00:59 -07:00
Mitchell Hashimoto d2d2404961 Split config classes out into multiple files for better organization 2010-09-01 20:37:11 -07:00
Mitchell Hashimoto f697ca543e Extremely basic Radar integration 2010-09-01 19:46:11 -07:00
Mitchell Hashimoto 3da94252b5 Get rid of util.rb. No longer used. 2010-09-01 14:30:31 -07:00
Mitchell Hashimoto e7f06d7fb7 Remove ExceptionCatcher since exceptions are the way to report errors now 2010-09-01 10:04:37 -07:00
Mitchell Hashimoto a7197b3566 Autoload errors. If nothing bad happens, all those error classes don't use any memory :) 2010-09-01 07:15:37 -07:00
Mitchell Hashimoto e28947f18d Use I18n gem for string database. Refactor exceptions to use I18n. 2010-08-26 21:56:38 -07:00
Mitchell Hashimoto 3da5fc87a3 Add NamedBase for commands which take a name for multivm (optionally) 2010-08-24 23:50:20 -07:00
Mitchell Hashimoto 2eb09c7aa2 Helpers to get target VMs in commands from parameters 2010-08-24 17:49:22 -07:00
Mitchell Hashimoto 004ba551a6 Moved errors out into its own file so that vagrant.rb doesn't get too cluttered 2010-08-24 11:18:29 -07:00
Mitchell Hashimoto cc2dcf4d8f Box command to show example of a GroupBase command 2010-08-24 11:15:36 -07:00
Mitchell Hashimoto 5af0537e56 Command::GroupBase for creating subcommands for Thor. 2010-08-24 10:58:36 -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 48b7596357 Init command. Tests for the base command. 2010-08-24 10:27:36 -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 3b86122e09 Only calculate the source root once 2010-08-23 21:44:53 -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
Brian Donovan c78a3f3e3f Include util.rb early so the included hook is set up properly.
Fixes a NoMethodError running any command that invokes Environment.load!
2010-07-13 09:06:20 -07:00
Mitchell Hashimoto e2badeb9e1 Concepts of "Hosts" introduced, preparing for host-specific behavior. 2010-07-10 22:07:10 -07:00
Mitchell Hashimoto a0a6230455 Catch exceptions on download 2010-07-08 21:52:56 -07:00
Mitchell Hashimoto f558304b50 Goodbye, Actions 2010-07-08 21:35:31 -07:00
Mitchell Hashimoto 64b533edc4 Builtin class and stubbed import middleware 2010-07-04 04:58:03 +02:00
Mitchell Hashimoto ad96f0090a Properly download boxes from HTTPS sources. [closes GH-84] 2010-05-29 10:54:27 -07:00
Mitchell Hashimoto a5cb80f396 Removed old progress meter module from util 2010-05-20 22:54:48 -07:00
Mitchell Hashimoto 3cef90cfb9 Remove util.rb and that logger 2010-05-20 20:54:34 -07:00
Mitchell Hashimoto 1429723277 Glob loader to make glob loading easier 2010-04-25 00:51:45 -07:00
Mitchell Hashimoto c744f7afde vagrant box add 2010-04-13 17:08:36 -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 00cf000189 Added a progress meter module/mixin since that'll be used elsewhere. 2010-04-08 12:44:25 -07:00
John Bender 4e4d1a6978 error for vagrant ssh on windows, error text, mario gem, still need doc pages for links in error.yml 2010-03-25 00:09:31 -07:00
Mitchell Hashimoto a7652244d5 Move stacked proc runner to the util directory 2010-03-18 12:08:33 -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 edc1bbec8c TemplateRenderer added in preparation for supporting ERB templates for some things... 2010-03-17 17:00:46 -07:00
Mitchell Hashimoto 130d584322 StackedProcRunner abstraction which will be used for VM customization (in addition to configuration) 2010-03-15 14:19:28 -07:00
John Bender 5aeee61e83 action dependencies and unique requirement moved to actions/collection 2010-03-14 22:34:48 -07:00
Mitchell Hashimoto 6c05901fe7 Vagrant is now a good ruby gem citizen and no longer modifies the include path. 2010-03-13 03:21:04 -08:00
Mitchell Hashimoto 5598a260c2 Require the files, not puts them... its late. 2010-03-13 03:12:08 -08:00
Mitchell Hashimoto 2a6c9a762a Fixed expand pathing to work properly in vagrant.rb 2010-03-13 03:11:16 -08:00
Mitchell Hashimoto 9da68bb129 Expand paths properly for loading so that files already loaded aren't loaded twice 2010-03-13 03:08:26 -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 f86bc912eb Base provisioning class 2010-03-10 12:56:52 -08:00
Ilkka Laukkanen de18f1e4a6 Replace tarruby with archive-tar-minitar.
Tarruby seems to not compile on 64-bit, and even its author says to use
another library. Minitar seems to be more active than libarchive so I
used that.

Tests not fixed yet.
2010-03-09 10:38:02 -08:00
Jonathan Rudenberg 6e0f171514 Remove ftools requirement (deprecated in 1.9) 2010-03-09 09:12:02 -08:00
Mitchell Hashimoto 6a3b7370aa Load action runner before all other files 2010-03-09 08:45:14 -08:00
Mitchell Hashimoto 3d220ef5c8 HTTP downloader implemented. Boxes can now be added via HTTP! 2010-02-28 22:13:37 -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 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
Mitchell Hashimoto 2cdd3f35fc Removed "tarruby" dependency 2010-02-15 15:27:47 -08:00
Mitchell Hashimoto e77c780e0d Add defined? check for defining PROJECT_ROOT to suppress warnings 2010-02-13 11:50:01 -08:00
Mitchell Hashimoto 1288b229d1 Require action base before everything else as well 2010-02-13 11:48:13 -08:00
Mitchell Hashimoto 8f63272403 Cleaned up the requiring of files in vagrant.rb 2010-02-13 11:43:58 -08:00
John Bender 1316a9ac17 packaging working 2010-02-12 00:13:24 -08:00
Mitchell Hashimoto 119d91eafb Move all commands to the Vagrant::Command class. Document all commands. 2010-02-12 00:07:39 -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 6c9c09c1b1 Move all commands to the Vagrant::Command class. Document all commands. 2010-02-10 13:46:22 -08:00
Mitchell Hashimoto ba77944d67 Removed some unnecessary requires 2010-02-10 01:53:05 -08:00
Mitchell Hashimoto c1998d2127 And then God said unto thee, "You shall be named Vagrant." 2010-02-09 23:08:23 -08:00