Commit Graph

855 Commits

Author SHA1 Message Date
Mitchell Hashimoto 0dacd78b10 Add `forwarded_port_destination` to find SSH port by that instead of key. [closes GH-375] 2011-07-10 22:41:35 -07:00
Mitchell Hashimoto 8248679fab Fix bug with loading Vagrantfiles with new case changing 2011-07-10 16:08:39 -07:00
Mitchell Hashimoto 0db2ec9d43 Remove ResourceLogger and PlainLogger 2011-07-10 15:35:45 -07:00
Mitchell Hashimoto 442584fbac Change default home directory to ~/.vagrant.d [closes GH-333] 2011-07-09 18:55:33 -07:00
Mitchell Hashimoto 52c5c79edf Retry connection on Net::SSH::Disconnect [closes GH-313] 2011-07-09 17:02:41 -07:00
Mitchell Hashimoto 5143556065 Standardize on Util::Platform 2011-07-09 16:51:04 -07:00
Mitchell Hashimoto 1aed9f0f38 Remove leopard/tiger checking and just retry exec using safe_exec 2011-07-09 16:37:12 -07:00
Mitchell Hashimoto 874a9763f5 Only one copy of Vagrant can run at any given time. [closes GH-364]
This is to protect against issues with VirtualBox overwriting
each other.
2011-07-09 16:21:38 -07:00
Mitchell Hashimoto 24337b0ca4 vagrantfile now is lowercase. backwards compatible, though. [closes GH-399] 2011-07-09 15:18:52 -07:00
Mitchell Hashimoto 0b02deb37a Share folders go into the modify pipeline 2011-07-08 12:07:27 -07:00
Mitchell Hashimoto d797e48389 Clear shared folders uses new modify pipeline 2011-07-08 12:05:18 -07:00
Mitchell Hashimoto 79c46b4ec1 Forward ports now uses modify pipeline 2011-07-08 12:04:01 -07:00
Mitchell Hashimoto 027b22eca0 Clear forwarded ports to the modify pipeline 2011-07-08 12:02:35 -07:00
Mitchell Hashimoto 6b2feae0e8 Create single interal modify block to sync VM modifications 2011-07-08 11:59:29 -07:00
Mitchell Hashimoto f3c44fba2f Clear shared folders now in the context of a single write lock 2011-07-08 00:26:28 -07:00
Mitchell Hashimoto 60708873e4 Clear forwarded ports is now done in context of customize block 2011-07-08 00:20:15 -07:00
Mitchell Hashimoto 268f7f7bc2 Improved lock-reducing of forwarded ports action 2011-07-08 00:03:33 -07:00
Mitchell Hashimoto 2492f479d5 Tests passing from recent action changes 2011-07-07 23:58:42 -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 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 8733a745ce Can now specify owner/group of shared folders. [closes GH-350] 2011-07-05 23:53:23 -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 c27d857387 Rename :chef_server to :chef_client. [GH-359] 2011-07-03 17:20:06 -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 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
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 c117dba4ab Refactor and tests for GH-342 (chef enhancements) 2011-05-16 12:49:05 -07:00
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
Mitchell Hashimoto b8c2b6cde4 Fix test incompat with Ruby 1.8.6 2011-05-12 00:04:11 -07:00
Pat Collins 5f751d5a77 Provide a method to specify a Chef environment in a Vagrantfile. 2011-05-11 23:31:36 -07:00
Mitchell Hashimoto 234c47a3a7 Retryable can take multiple exceptions to retry on 2011-04-19 22:24:52 -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 3c45df0a88 Can now configure what shell to sudo with (default: bash) 2011-02-08 23:06:05 -08:00
Mitchell Hashimoto 22f085dc5d Tests for mac address setting on host only network 2011-02-08 19:42:32 -08:00
Mitchell Hashimoto 6d6ca39795 Host only networking only doesn't work on 64-bit Windows 2011-01-29 21:03:27 -08:00
Mitchell Hashimoto 8d55bdcae5 Style tweaks and tests added for changing host name 2011-01-28 17:41:48 -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 59fa9ac46b net-ssh 2.1.0. Adds "IdentitiesOnly" support for net-ssh, fixing problems. 2011-01-19 22:00:38 -08:00
Mitchell Hashimoto 9673b7eaee Remove config.ssh.port, it actually never did anything 2011-01-14 00:36:49 -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