76 Commits

Author SHA1 Message Date
Mitchell Hashimoto
db20f399fb Improved puppet config validation 2011-01-13 17:27:39 -08:00
Mitchell Hashimoto
fea6c1cf60 Assign puppet command to a variable for later use 2011-01-12 23:27:33 -08:00
Mitchell Hashimoto
2a5070dad7 All provisioners are now RVM-friendly 2011-01-12 16:57:19 -08:00
Mitchell Hashimoto
93d241f4ce Puppet is now RVM friendly 2011-01-12 16:28:45 -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
85b8ccc2ec Provisioners now register themselves with their shortcut name 2011-01-11 19:52:55 -08:00
Mitchell Hashimoto
db60e5f426 Fix indentation on puppet.rb 2011-01-11 19:50:20 -08:00
Mitchell Hashimoto
101aa45226 Proxy settings for chef. [closes GH-169] 2011-01-08 23:30:07 -08:00
Mitchell Hashimoto
8daf81686d Fix whitespace issues with puppet server 2011-01-06 13:35:08 -08:00
James Turnbull
3849355ef6 Basic Puppet Server provisioner 2011-01-06 13:33:22 -08:00
Mitchell Hashimoto
dbd18e752e Whitespace changes 2010-12-21 20:07:57 -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
d0e3cf1210 config.puppet.options can be a string as well 2010-12-14 21:57:12 -08:00
Brice Figureau
6b46949550 Allow passing options to the Puppet provisioner
This allows for instance to pass the --modulepath options like this:

config.vm.puppet.options = ["--modulepath","modules"]

Which would call puppet with "--modulepath modules".

Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2010-12-14 21:53:57 -08:00
James Turnbull
6548bc9324 Adds a basic Puppet provisioner to Vagrant
This uses the Puppet binary and assumes a .pp file will be present
on the host machine.

By default it looks for manifests in the `manifests` directory (in the same root as
wherever your Vagrantfile is located). The default file uses the name of the box
being configured, for example `lucid.pp`.  Both options are configurable.
2010-12-07 16:57:00 -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
7ddff513f0 Shell UI tests. Added option to not translate. Updated non-translated strings. 2010-08-27 23:27:35 -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
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
3c225ee768 Use File.join instead of File.expand_path in chef solo provisioner for folder paths. Allows it work on windows again. 2010-08-18 11:40:49 -07:00
Mitchell Hashimoto
1cbc931a6d Run chef provisioners with "-E" flag on sudo so PATH is preserved on CentOS [closes GH-133] 2010-08-03 09:14:35 -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
e63cd71673 Specify remote cookbook paths which exist only the VM in cookbook_paths config. [closes GH-130] 2010-07-31 10:46:22 -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
3848a2dd52 Get rid of some outdated TODOs 2010-07-26 08:56:55 -07:00
Mitchell Hashimoto
8f0d6c8304 Merge branch 'middleware' 2010-07-08 22:05:09 -07:00
Mitchell Hashimoto
ff7e9dc2ae Get rid of ActionException usage in provisioners 2010-07-08 20:48:01 -07:00
Mitchell Hashimoto
b2c2c76b55 Provisioner now uses the action environment 2010-07-08 20:33:47 -07:00
Dylan Egan
f5756cdfc5 Allow the node_name to be set for the ChefSolo Provisioner. 2010-07-07 23:26:08 -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
2af2a81eb8 Chef runs (solo and client) check exit status and error if anything occurs. 2010-05-28 23:18:32 -07:00
Mitchell Hashimoto
504b709f2d Provisioners use new logger on environment 2010-05-20 20:44:58 -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
b1b4ae2077 Remove SSH object from environment 2010-05-07 21:45:40 -07:00
Mitchell Hashimoto
2e547bda26 SSH object is now on the VM, rather than the environment 2010-05-07 21:40:32 -07:00