Commit Graph

5364 Commits

Author SHA1 Message Date
Ryan Uber fff4f595c5 Added unit test for passing a single fixnum as an argument to the shell
provisioner
2014-02-14 11:53:17 -08:00
Ryan Uber 509e29043a Added handling of fixnum values for shell provisioner options both as the value
of `args` itself and as an element inside of an `args` array. Added validation
around passing in arrays for arguments. Just knowing that it is an array is not
enough, because arrays can contain any other type.
2014-02-14 11:47:36 -08:00
Shane Gibbs 5600bd1067 Add support for multiple role paths in chef-solo 2014-02-14 21:48:18 +13:00
Mitchell Hashimoto a4f64d0148 core: ui can hide details 2014-02-13 21:09:02 -08:00
Mitchell Hashimoto d0cd2464b2 providers/virtualbox: only clear forwarded ports if there are any 2014-02-13 21:04:56 -08:00
Mitchell Hashimoto 2fe2fe79ed communicators/ssh: properly allow errors through while waiting 2014-02-13 21:04:41 -08:00
Mitchell Hashimoto ed5e544e63 communicators/ssh: more verbose output about waiting for SSH 2014-02-13 20:59:26 -08:00
Mitchell Hashimoto 14b27ae215 communicators/ssh: cache ssh_info
This lowers the number of subprocesses with VirtualBox quite a bit.
2014-02-13 20:34:51 -08:00
Mitchell Hashimoto d2d96a0726 core: keep process group for SSH childprocess 2014-02-13 16:45:45 -08:00
Mitchell Hashimoto b1bed68bed providers/virtualbox: cap to read forwarded ports 2014-02-13 16:34:34 -08:00
Mitchell Hashimoto 5fb64dfca2 core: use Process#wait since childprocess bug is fixed 2014-02-13 07:40:33 -08:00
Mitchell Hashimoto 7f534d839d Up childprocess dep to 0.4.1 2014-02-13 07:40:28 -08:00
Mitchell Hashimoto e909b91bfd guests/linux: public key insertion is more robust
contents can have newlines (or not)
2014-02-12 22:11:33 -08:00
Mitchell Hashimoto 8bfb4bda2b core: make sure any Subprocess exits no matter what 2014-02-12 21:35:54 -08:00
Mitchell Hashimoto 42fa0a6540 core: poll for process exit on SSH#exec with subprocess 2014-02-12 21:31:05 -08:00
Mitchell Hashimoto 79581df71b core: chomp the version so we can echo into it 2014-02-12 15:01:12 -08:00
Mitchell Hashimoto 2c72c32df0 core: Modify Bundler settings to work with restricted permissions
This includes two changes:

1. Change the Vagrant requirement to use the "= VERSION" constraint.
   The "path:" previously requires write permission in the directory
   of the gemspec, which we don't have in installers.

2. Set a BUNDLE_APP_CONFIG and BUNDLE_PATH setting. By setting this,
   Bundler won't ask for sudo password. Bundler never actually needs it;
   it is just overly aggressive in thinking it does.
2014-02-12 14:24:17 -08:00
Mitchell Hashimoto a350f80e2f website/www: fix downloads 2014-02-12 11:52:18 -08:00
Mitchell Hashimoto 97f93dcf4a website/www: force up the version 2014-02-12 11:46:20 -08:00
Mitchell Hashimoto c148d8eca4 website/www: ignore the standalone archive page 2014-02-12 09:27:28 -08:00
Mitchell Hashimoto 0e3830932e website/www: feature preview blog post: rsync 2014-02-12 08:52:14 -08:00
Mitchell Hashimoto 06a7c88316 core: HandleBox keeps the same machine instance 2014-02-11 16:06:03 -08:00
Mitchell Hashimoto c280af0b9c core: keep the same UI when handling a box URL 2014-02-11 16:03:25 -08:00
Mitchell Hashimoto 2550a76edb core: Machine can set box 2014-02-11 13:31:50 -08:00
Mitchell Hashimoto 12b2572687 kernel/v2: capture error if provider config is bad [GH-2959] 2014-02-11 11:55:04 -08:00
Mitchell Hashimoto dd9dd5127c Merge pull request #2948 from gnawhleinad/master
command/*: clean up usage
2014-02-10 09:02:32 -08:00
Mitchell Hashimoto b6b8b97ccb Update CHANGELOG 2014-02-10 08:58:42 -08:00
Mitchell Hashimoto 7e17f57191 Merge pull request #2950 from elyast/master
command/ssh-config: Fixing ssh_config, proxy_command is not included
2014-02-10 08:58:09 -08:00
Mitchell Hashimoto 27420ad2ee Remove website/ dir from gem [GH-2951] 2014-02-10 08:56:45 -08:00
Lukasz Jastrzebski 654870a185 Fixing ssh_config proxy_command is not included 2014-02-09 16:27:32 -08:00
Mitchell Hashimoto 8d3afa73d2 providers/virtualbox: config to skip guest additions check 2014-02-08 18:35:09 -08:00
Mitchell Hashimoto 342fba8182 core: Ui::Prefixed values instance-level opts 2014-02-08 15:15:06 -08:00
Mitchell Hashimoto e6ca9d6f81 core: Ui::Prefixed can take prefix_spaces option 2014-02-08 15:14:21 -08:00
Mitchell Hashimoto 2d7c161f49 core: Ui#dup works properly 2014-02-08 15:11:51 -08:00
Mitchell Hashimoto 9026e54da9 core: fix Environment tests 2014-02-08 14:54:40 -08:00
Mitchell Hashimoto 86454ddac9 core: Environment#lock tests 2014-02-08 14:50:52 -08:00
Mitchell Hashimoto 1e50e7aca1 core: Prefixed UI only requests bolding if not specified at instance-level 2014-02-08 14:26:26 -08:00
Mitchell Hashimoto efc1bf50dd core: Machine#with_ui 2014-02-08 14:03:31 -08:00
gnawhleinad fbcac2978e clean up usage 2014-02-08 00:20:50 -08:00
Mitchell Hashimoto 8c85e57db1 guests/linux: proper logic on ro 2014-02-07 16:04:36 -08:00
Mitchell Hashimoto fcf2d42717 Merge pull request #2946 from mhahn/fix/master/2945
Fix #2945: Reference correct options variable
2014-02-07 16:03:48 -08:00
Mitchell Hashimoto 2846850306 core: HandleBox reloads machine from proper Vagrantfile 2014-02-07 11:51:04 -08:00
Mitchell Hashimoto 46a42eb9c2 core: when loading box metadata, specify JSON header 2014-02-07 10:51:57 -08:00
Mitchell Hashimoto b9aa2acddc core: request JSON type when getting the metadata URL 2014-02-07 10:33:08 -08:00
Mitchell Hashimoto d4c753c48d core: download metadata with JSON accept header 2014-02-07 10:30:25 -08:00
Mitchell Hashimoto 2dac667544 Merge pull request #2947 from mitchellh/f-environment-refactor
Core refactor: "Vagrantfile" abstraction
2014-02-07 09:27:32 -08:00
Mitchell Hashimoto 40cbfb95e3 core: fix Machine tests 2014-02-07 09:24:09 -08:00
Mitchell Hashimoto 8e9ceeaf5c core: Machine has reference to Vagrantfile 2014-02-07 09:16:55 -08:00
Mitchell Hashimoto 66f722ef68 core: Alphabetize functions and comment better in Environment 2014-02-06 21:36:57 -08:00
Mitchell Hashimoto 8af67cf241 core: update docs for Vagrant::Environment 2014-02-06 21:33:28 -08:00