64 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
d0000e9f49 adding tests for providing data bags into the vm. 2011-05-12 08:06:57 -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
1e931eaba6 chmod and execute shell provisioning script in a single session 2011-01-25 11:43:25 -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
3051174dfe Chef server config validation testing 2011-01-12 17:00:01 -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
85b8ccc2ec Provisioners now register themselves with their shortcut name 2011-01-11 19:52:55 -08:00
James Turnbull
3849355ef6 Basic Puppet Server provisioner 2011-01-06 13:33:22 -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
3fe785ab72 Removed mock_vm test helper, which is unnecessary 2010-10-03 18:45:09 -07:00
Mitchell Hashimoto
ed645417c7 Basic validation added for Chef configuration (both solo and server). 2010-09-30 01:09:36 -07:00
Mitchell Hashimoto
73c223c885 Remove most of the remaining mock_environment calls. Only one remains. 2010-09-07 11:51:10 -07:00
Mitchell Hashimoto
8164644615 Converted most "mock_environment" tests to "vagrant_env" which uses real filesystem 2010-09-07 11:41:52 -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
43cdcb7808 Config can now be deserialized as well as serialized to JSON 2010-09-01 21:01:15 -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
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
8e82fb2691 Fix tests so they run on Ruby 1.9.2 2010-07-19 20:32:07 -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
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
Mitchell Hashimoto
40e823d90a Shorten shared folders further [see GH-50] 2010-04-12 14:38:34 -07:00
Lincoln Stoll
1245a0c1c8 Shorten shared folder names
On some setups, the generated name is truncated, which causes issues
because they then look the same, and the kernel throws duplicate
filename errors. Shorten the name so this doesn't happen
2010-04-12 14:06:56 -07:00
Lincoln Stoll
ea85e1d38f Shorten shared folder names
On some setups, the generated name is truncated, which causes issues
because they then look the same, and the kernel throws duplicate
filename errors. Shorten the name so this doesn't happen
2010-04-12 14:06:40 -07:00
Mitchell Hashimoto
4586bc554d Give cookbooks and role shared folders unique IDs 2010-04-09 14:22:05 -07:00
Mitchell Hashimoto
a9c261090e Remove redundancy in chef solo provisioner 2010-04-09 14:17:25 -07:00
Wade Simmons
15e4b2f411 add support for roles in Chef Solo 2010-04-09 14:01:15 -07:00
Mitchell Hashimoto
4e54cc77a2 Remove old test mocks from the pre-instanced environment days 2010-04-08 23:28:53 -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