54 Commits

Author SHA1 Message Date
Mitchell Hashimoto
f022e9ee36 Fix issue where chef solo always expected "cookbooks" folder [GH-638] 2012-01-19 21:06:09 -08:00
Mitchell Hashimoto
f87c25bac8 Provide defaults in a proper way for Chef config 2012-01-19 20:47:01 -08:00
Mitchell Hashimoto
ac48d270eb Error if :vagrant is used as chef JSON key. [GH-661] 2012-01-19 19:48:57 -08:00
Mitchell Hashimoto
829f64406e Add attempts to chef provisioners. [GH-282] 2012-01-12 23:10:30 -08:00
Mitchell Hashimoto
06d4b6a4e5 Don't default config values to nil 2012-01-11 22:35:28 -08:00
Mitchell Hashimoto
7d56dbb755 Uploaded files now use temporary files rather than StringIO 2012-01-06 21:42:25 -08:00
Mitchell Hashimoto
275ddae646 Convert everything to the new SSH API 2012-01-06 20:07:32 -08:00
Mitchell Hashimoto
7ab6ab31f8 Another tweak to chef to get it to work with new system 2011-12-14 23:37:47 -08:00
Mitchell Hashimoto
e602af8c3a Convert chef provisioners to new format 2011-12-14 23:19:46 -08:00
Mitchell Hashimoto
2bcd68d323 Slight tweaks for GH-556 2011-11-22 19:05:44 -08:00
Justin Brown
dcef64fa0d Remove the chef dependency on the default 'v-root' shared folder. 2011-11-22 19:03:52 -08:00
Mitchell Hashimoto
7df5cf6c9d Fix some issues with the atomic counter and chef-solo 2011-08-03 21:28:29 -07:00
Mitchell Hashimoto
ed8bf34153 Chef client accepts nil run list to load run list from server [closes GH-429] 2011-07-25 21:33:36 -07:00
Mitchell Hashimoto
e625dba5ab Multiple Chef provisioners no longer overwrite cookbook folders. [closes GH-407] 2011-07-07 22:49:58 -07:00
Mitchell Hashimoto
9287324472 Chef JSON can be set directly with json = instead of the old merge! trick. [closes GH-314] 2011-07-06 00:44:21 -07:00
Mitchell Hashimoto
c117dba4ab Refactor and tests for GH-342 (chef enhancements) 2011-05-16 12:49:05 -07:00
Ryan Schlesinger
ab2fff4b5b Adding extra runtime config options for chef.
Adding chef.binary_path and chef.binary_env to the config options for controlling where to find chef-solo/chef-client and how to run them.
2011-05-16 12:41:08 -07:00
Mitchell Hashimoto
2821dcee7f SSH commands which use sudo compatible with sudo < 1.7.0 2011-01-21 23:38:42 -08:00
Mitchell Hashimoto
2a5070dad7 All provisioners are now RVM-friendly 2011-01-12 16:57:19 -08:00
Mitchell Hashimoto
8482eeff0b net-ssh-shell support for shell-based SSH interactions 2011-01-12 15:21:54 -08:00
Mitchell Hashimoto
a91ad4d89f Fixed provisioners to the new conventions. Tests passing! 2011-01-11 22:37:09 -08:00
Mitchell Hashimoto
d951d058ce Initial work on this. Tests are completely broken. 2011-01-11 21:07:12 -08:00
Mitchell Hashimoto
101aa45226 Proxy settings for chef. [closes GH-169] 2011-01-08 23:30:07 -08:00
Mitchell Hashimoto
7c7f5d48fe Don't need to call ".new" on raising exceptions 2010-12-21 20:04:21 -08:00
Brian P O'Rourke
4e2472befc Typo fixes for docs 2010-12-14 22:06:15 -08:00
Mitchell Hashimoto
e83260662e Fix chef validations with new blank run lists 2010-11-15 10:42:52 -08:00
Dreamcat4
63292fba96 Don't clear the run_list always. Allow the run_list on the chef server to be used! 2010-11-15 10:37:04 -08:00
Dreamcat4
4091b35a51 If you want the vm's FQDN to be default Chef Node name (and not "client") 2010-11-15 10:36:48 -08:00
Mitchell Hashimoto
ed645417c7 Basic validation added for Chef configuration (both solo and server). 2010-09-30 01:09:36 -07:00
Mitchell Hashimoto
d003cc4f32 UI methods no longer automatically translate. Makes it easier for plugin developers. 2010-09-21 18:12:24 -06:00
Mitchell Hashimoto
8f5dacef26 "vagrant_main" is no longer the default run list for chef. It now starts empty. 2010-09-12 17:10:24 -06:00
Mitchell Hashimoto
86465a36c0 Change method by which configuration classes register themselves to be cleaner 2010-09-11 09:02:55 -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
ae6e42dbbc Scope SSH errors to proper exception classes 2010-09-01 10:47:34 -07:00
Mitchell Hashimoto
786a0f443a Provisioners raise exceptions 2010-09-01 09:36:22 -07:00
Mitchell Hashimoto
12ce76ffd0 Convert provisioners and systems to I18n 2010-08-27 21:02:11 -07:00
Mitchell Hashimoto
a699122260 No more logger usage for outputting to the shell 2010-08-25 22:38:24 -07:00
Mitchell Hashimoto
0052f2515c Change default config.chef.cookbooks_path to handle typical default behavior for remote cookbooks 2010-07-31 10:53:57 -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
ff7e9dc2ae Get rid of ActionException usage in provisioners 2010-07-08 20:48:01 -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
503a9acf89 Verify chef binaries exist prior to running chef provisioning [closes GH-89] 2010-05-29 11:33:01 -07:00
Mitchell Hashimoto
689a416809 Fixed issue with JSON 1.4.3 [closes GH-62] 2010-05-14 23:25:34 -07:00
Mitchell Hashimoto
2e547bda26 SSH object is now on the VM, rather than the environment 2010-05-07 21:40:32 -07:00
Wade Simmons
15e4b2f411 add support for roles in Chef Solo 2010-04-09 14:01:15 -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
fee10c47fd Provisioning redone to use new environment 2010-03-19 22:15:20 -07:00
Mitchell Hashimoto
f59b255085 ActionExceptions all use the new error strings by key 2010-03-17 21:38:38 -07:00