Commit Graph

1606 Commits

Author SHA1 Message Date
Mitchell Hashimoto 911a44523c Create shared folders in VM customize block to reduce VirtualBox lock time. 2011-07-07 23:49:29 -07:00
Mitchell Hashimoto 1ecd04e0ac Move port forwarding into customize block to run in a single VM lock. 2011-07-07 23:42:56 -07:00
Mitchell Hashimoto 17e86c40fc Reload VM after running customization blocks 2011-07-07 23:41:19 -07:00
Mitchell Hashimoto a0cf0c3761 Match MAC address using VM customize config to speed up `up` time 2011-07-07 23:27:09 -07:00
Mitchell Hashimoto d77738b37f Cache SSH connections to VMs. 2011-07-07 23:15:19 -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 729d62d1ea Chef solo no longer overwrites share folders when multiple provisioners exist 2011-07-07 21:38:07 -07:00
Mitchell Hashimoto 5ae483ef85 Provisioners now properly share folders again 2011-07-07 10:38:32 -07:00
Mitchell Hashimoto 19eaddcd3a Action to call `cleanup` method on provisioners during destroy. 2011-07-06 23:02:19 -07:00
Mitchell Hashimoto 45ce8b845a Clean up the code for provisioners 2011-07-06 22:57:10 -07:00
Mitchell Hashimoto 563ac35bc0 No longer need the provisioners attr_accessor on the provision action 2011-07-06 22:56:09 -07:00
Mitchell Hashimoto 1de152ae36 Move provisioning prepare up into the `call` method 2011-07-06 22:50:49 -07:00
Mitchell Hashimoto bdc316f4ef Provisioner configuration no longer cleared when box is downloaded during an `up`. [closes GH-308] 2011-07-06 22:08:37 -07:00
Mitchell Hashimoto eecddfee5b Fix template typo for Chef solo.
This makes it so that no newline is created for data bags...
2011-07-06 09:05:26 -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 c2bccdc65a Forward agent and forward X11 properly appear in `ssh_config` output. [closes GH-105] 2011-07-06 00:36:05 -07:00
Mitchell Hashimoto 29688eb788 `vagrant ssh` -e flag is now -c [closes GH-323] 2011-07-06 00:29:22 -07:00
Mitchell Hashimoto 5e2e019b7c `ssh_config` will use VM name if given for host name [closes GH-332] 2011-07-06 00:18:44 -07:00
Mitchell Hashimoto 9e780606f4 Note that NFS doesn't support owner/group settings 2011-07-06 00:07:36 -07:00
Mitchell Hashimoto 6d6087ce73 Update solaris system to respect new owner/group shared folder settings 2011-07-05 23:59:31 -07:00
Mitchell Hashimoto 27ff6bd1df Superficial change for linux system 2011-07-05 23:57:56 -07:00
Mitchell Hashimoto 8733a745ce Can now specify owner/group of shared folders. [closes GH-350] 2011-07-05 23:53:23 -07:00
Mitchell Hashimoto 179845a36e Host only network works properly on multiple adapters [closes GH-365] 2011-07-05 23:35:15 -07:00
Mitchell Hashimoto b4c9ec60de Ability to provide inline script for shell provisioner [closes GH-395] 2011-07-05 23:16:22 -07:00
Mitchell Hashimoto dcaca22810 Show nice error message for bad HTTP downloads [closes GH-403] 2011-07-05 22:48:02 -07:00
Mitchell Hashimoto 487e6a1c21 Update CHANGELOG 2011-07-03 17:36:34 -07:00
Dan Bode ad834feccc (368) Added local network config code for Suse.
Networking in SUSE works almost exactly like redhat.
The only difference is the location of the networking scripts.

This has been verified as working on SLES11sp1, but requires a previously configured
eth1 interface (as with redhat)

I have also verified that I can still bring up a localnet on rhel 4,5
2011-07-03 17:35:59 -07:00
Mitchell Hashimoto 8bb2403ce0 Add error message specifically for chef_server change 2011-07-03 17:29:05 -07:00
Mitchell Hashimoto c27d857387 Rename :chef_server to :chef_client. [GH-359] 2011-07-03 17:20:06 -07:00
Mitchell Hashimoto 52ba4db9e5 Note speed gains in CHANGELOG 2011-07-03 17:19:09 -07:00
Mitchell Hashimoto d493a51ca2 v0.8.0.dev 2011-07-03 17:07:59 -07:00
Mitchell Hashimoto 578c384bf5 v0.7.6 2011-07-02 22:07:22 -07:00
Mitchell Hashimoto 79650d316c Up dependency versions to latest working versions 2011-07-02 22:03:52 -07:00
Mitchell Hashimoto 5276256b3e Lock virtualbox dep in Gemfile to 0.8.x ref 2011-07-02 21:48:47 -07:00
Mitchell Hashimoto b99ed64632 Update CHANGELOG 2011-07-02 21:44:19 -07:00
Alan Shields 33538d2900 Set the home directory to /root when using sudo
Encountered this issue while using puppet. Created configuration file /root/.my.cnf
but mysql was looking for /home/vagrant/.my.cnf

Passing -H to sudo causes sudo to set env HOME=/root/
2011-07-02 21:43:53 -07:00
Mitchell Hashimoto 2d9d16d6e1 Update CHANGELOG 2011-07-02 21:20:55 -07:00
Jamie Winsor 7c89ef3de2 Add support for Chef encrypted data bags: http://wiki.opscode.com/display/chef/Encrypted+Data+Bags
Add two configuration options to chef_server provision:
  encrypted_data_bag_secret_key_path - the location of your encrypted secret key on your local machine
  encrypted_data_bag_secret - the location you wish to place the key on the target machine and the value of Chef::Config[:encrypted_data_bag_secret]. Default value of "/etc/chef/encrypted_data_bag".
2011-07-02 21:20:22 -07:00
Mitchell Hashimoto 096c8b284f Do not load a plugin if it depends on invalid version of Vagrant 2011-07-02 09:27:28 -07:00
Mitchell Hashimoto 46c8bd09d3 Load prerelease plugins if available 2011-07-02 09:23:43 -07:00
Mitchell Hashimoto 1e33aa9ab4 Get the tests passing for the Chef provisioner 2011-06-16 18:07:11 -06:00
Mitchell Hashimoto 338b3ac094 Run Chef commands in a single command [GH-390] 2011-06-16 18:04:55 -06:00
Mitchell Hashimoto 0cde5d2d46 Allow NFS Chef mounting [GH-378] 2011-06-13 14:21:20 -07:00
Ryan Schlesinger a061428e50 Adding nfs option for chef solo. 2011-06-13 14:21:00 -07:00
Mitchell Hashimoto 6fa21d2a62 Fix missing translation [GH-371] 2011-06-13 14:16:48 -07:00
Mitchell Hashimoto af5fce8236 Update CHANGELOG for GH-374 2011-06-13 14:09:21 -07:00
Maksim Horbul 23bb514100 provide absolute paths for solo.rb and dna.js in order to make it work correctly with the restart cookbook https://github.com/dreamcat4/site-cookbooks/tree/COOK-245/restart/ 2011-06-13 14:08:21 -07:00
Mitchell Hashimoto e8dce40992 Added --no-color option 2011-06-09 23:46:23 -04:00
Mitchell Hashimoto f79084b1db Touch RedHat network config to force it to exist [GH-381] 2011-06-09 23:20:17 -04:00
Mitchell Hashimoto c9d03cf138 Added DEVICE option to RedHat host only networking template. [GH-382]
This allows the networking to work even when the VM has multiple adapters.
2011-06-09 23:17:51 -04:00