88 Commits

Author SHA1 Message Date
Mitchell Hashimoto
f30ef2b8a9 Merge https://github.com/rcreasey/vagrant 2011-05-16 12:37:21 -07:00
Ryan C. Creasey
41404d9685 added data_bags_path to ChefSolo Provisioners; updated templates to accomodate. 2011-05-12 08:07:55 -07:00
Pat Collins
1134c0b7d6 Don't provide a default for the environment. That way currently the environment that is currently set for a node on the server is not mistakenly overridden with "_default". 2011-05-11 23:31:40 -07:00
Pat Collins
5f751d5a77 Provide a method to specify a Chef environment in a Vagrantfile. 2011-05-11 23:31:36 -07:00
Dimitri Aivaliotis
6f9387adc6 added :file_cache_path and :file_backup_path as configurable parameters
removed deprecated :file_store_path parameter
2011-02-25 19:33:01 -08:00
Mitchell Hashimoto
77a1b9a6ef Fix issue with unknown terminal type output for sudo commands 2011-02-16 16:23:08 -08:00
Mitchell Hashimoto
1e931eaba6 chmod and execute shell provisioning script in a single session 2011-01-25 11:43:25 -08:00
Mitchell Hashimoto
535e72204c Shell provisioner STDOUT/STDERR to console 2011-01-23 12:06:09 -08:00
Mitchell Hashimoto
75e283c81a New shell provisioner which uploads and executes a script as root on VM 2011-01-23 12:00:50 -08: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
66bf56a073 Fix issue with puppet mounting shared folder as subfolder of another, causing spurious folder creation on the host 2011-01-14 00:21:20 -08:00
Mitchell Hashimoto
302f9ff0bb Puppet provisioner can mount/configure module paths from local directory 2011-01-13 21:02:26 -08:00
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