560 Commits

Author SHA1 Message Date
Mitchell Hashimoto
1c2f80fab4 Distro dispatch for Host classes 2011-08-27 23:39:02 -07:00
Mitchell Hashimoto
cf115c10b1 Fix errno not defined [closes GH-465] 2011-08-13 18:54:32 -07:00
Mitchell Hashimoto
7df5cf6c9d Fix some issues with the atomic counter and chef-solo 2011-08-03 21:28:29 -07:00
Mitchell Hashimoto
4c6673270a Ruby 1.8 compatibility 2011-07-11 20:13:19 -07:00
Mitchell Hashimoto
0db2ec9d43 Remove ResourceLogger and PlainLogger 2011-07-10 15:35:45 -07:00
Mitchell Hashimoto
050677b359 ResourceLogger doesn't need to be thread-safe. Vagrant is not multi-threaded. 2011-07-10 14:52:22 -07:00
Mitchell Hashimoto
5143556065 Standardize on Util::Platform 2011-07-09 16:51:04 -07:00
Mitchell Hashimoto
1aed9f0f38 Remove leopard/tiger checking and just retry exec using safe_exec 2011-07-09 16:37:12 -07:00
Mitchell Hashimoto
729d62d1ea Chef solo no longer overwrites share folders when multiple provisioners exist 2011-07-07 21:38:07 -07:00
Mitchell Hashimoto
234c47a3a7 Retryable can take multiple exceptions to retry on 2011-04-19 22:24:52 -07:00
Mitchell Hashimoto
0953c41446 Some stylistic changes regarding arch commit 2011-04-19 22:04:55 -07:00
Tim Joseph Dumol
2c091c98cc Added Arch Linux as under vagrant/hosts
Added NFS support for Arch Linux under vagrant/hosts by adding
vagrant/hosts/arch and a platform test for Arch Linux.
2011-04-19 22:03:21 -07: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
c9f14d6dc9 Use RbConfig instead of Config, latter is deprecated 2010-12-18 20:02:54 -08:00
Mitchell Hashimoto
3f2f5685b2 Platform helpers to detect 64-bit and 32-bit CPU. 2010-12-18 12:02:48 -08:00
Mitchell Hashimoto
8c13d1919e Use rbconfig to get host OS 2010-12-18 11:53:36 -08:00
Brian P O'Rourke
4e2472befc Typo fixes for docs 2010-12-14 22:06:15 -08:00
Mitchell Hashimoto
0fcc1150c5 Revert "Instead of using Kernel#system, use custom piped solution"
This reverts commit 171f4184c0a698c4a6b05767accb6002ffcd18a0.
2010-09-29 23:38:07 -07:00
Mitchell Hashimoto
171f4184c0 Instead of using Kernel#system, use custom piped solution 2010-09-27 18:26:42 -07:00
Mitchell Hashimoto
e3ff9c7ac3 Resource logger now logs to a "logs" directory in the home path 2010-09-20 09:58:19 -06:00
Mitchell Hashimoto
5ce43a8ae0 Utilize pathname when available instead of doing just a File.join 2010-09-11 10:42:03 -07:00
Mitchell Hashimoto
ea35608f64 Retry on SSH#exec! as well 2010-09-09 00:35:02 -07:00
Mitchell Hashimoto
f8e7431899 Retry SSH connect a few times before admitting defeat. 2010-09-09 00:28:21 -07:00
Mitchell Hashimoto
337eec2d07 Fork-and-wait on Tiger as well as leopard. [related to GH-51] 2010-09-07 14:19:06 -07:00
Mitchell Hashimoto
ad5ecf1c7f Remove unused code in Config 2010-09-05 10:18:05 -07:00
Mitchell Hashimoto
f24094bba8 Converted more tests to new vagrant env helpers and removed unused code in ResourceLogger 2010-09-04 10:47:22 -07:00
Mitchell Hashimoto
0a8540996c Action environment uses new indifferent hash util 2010-09-03 09:39:30 -07:00
Mitchell Hashimoto
59e1e43c74 Autoload the util classes. HashWithIndifferentAccess for data store 2010-09-03 09:33:15 -07:00
Mitchell Hashimoto
3da94252b5 Get rid of util.rb. No longer used. 2010-09-01 14:30:31 -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
7bf9c6203d Fix strange formatting from vagrant init [closes GH-142] 2010-08-19 22:15:47 -07:00
Mitchell Hashimoto
b6719d00d9 Enable ability to supress newlines in ERB for templates using -%> 2010-08-01 17:26:37 -07:00
Mitchell Hashimoto
14e7ff8d00 Flush all log output and sleep a bit for NFS export warning [closes GH-119] 2010-07-24 00:30:20 -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
f1ad7234b9 The new Vagrant::Util::Busy. 2010-07-18 08:10:40 -07:00
Mitchell Hashimoto
549fad0b91 Move output helpers into the actual util class, gets rid of method missing on environment 2010-07-13 21:35:47 -07:00
Mitchell Hashimoto
e2badeb9e1 Concepts of "Hosts" introduced, preparing for host-specific behavior. 2010-07-10 22:07:10 -07:00
Mitchell Hashimoto
67ab68df89 System prepare_unison method + tests 2010-06-20 02:07:32 -07:00
Mitchell Hashimoto
3be88f44fa Warning if guest additions version mismatches [closes GH-96] 2010-06-15 21:58:27 -07:00
John Bender
74aefa5c3d corrected bit mask for package output on windows 2010-05-22 22:46:42 -07:00
Mitchell Hashimoto
a5cb80f396 Removed old progress meter module from util 2010-05-20 22:54:48 -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
4a20bfe7fc Plain logger should emit a newline 2010-05-20 16:47:25 -07:00
Mitchell Hashimoto
75b1df2f2f Got rid of parent modules for stringhelper/outputhelper. Removed error/wrap_output from util.rb 2010-05-20 16:15:43 -07:00
Mitchell Hashimoto
398e254c39 Moved error_and_exit and wrap_output to their own mixins 2010-05-20 16:09:00 -07:00
Mitchell Hashimoto
fa9bdad175 Added the ResourceLogger, which will handle logging in the near future 2010-05-20 13:05:01 -07:00
Mitchell Hashimoto
13c05de702 Rename errors.yml to strings.yml and Error to Translator, since I plan on using it for general strings 2010-04-30 23:42:11 -07:00
Mitchell Hashimoto
1429723277 Glob loader to make glob loading easier 2010-04-25 00:51:45 -07:00
Mitchell Hashimoto
c64dc43c84 Fix progress meter output for Windows 2010-04-15 17:53:54 -07:00