351 Commits

Author SHA1 Message Date
Tony La
593e2e628f Ruby 1.8.6 Hash#select returns an array of results
Which results in a "odd number of arguments for Hash" error.
2011-05-11 23:58:12 -07:00
Jason Yan
b1bc49c0f3 Fix issue with port forwarding not respecting protocol option. 2011-02-25 19:30:27 -08:00
Mitchell Hashimoto
22f085dc5d Tests for mac address setting on host only network 2011-02-08 19:42:32 -08:00
Vishvananda Ishaya
e2d5c12870 support macs in xx:xx:xx:xx:xx:xx format as well 2011-02-08 19:27:24 -08:00
Vishvananda Ishaya
6416bf8ef6 it is mac_address not mac 2011-02-08 19:27:18 -08:00
Vishvananda Ishaya
211f9d46af allow specification of mac in network command 2011-02-08 19:26:45 -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
Michael Bearne
f757184c06 added support for changing host name on up for Debian, Ubuntu and RedHat 2011-01-14 17:51:19 +00:00
Mitchell Hashimoto
a91ad4d89f Fixed provisioners to the new conventions. Tests passing! 2011-01-11 22:37:09 -08:00
Mitchell Hashimoto
cddccab9ae Provision action works again 2011-01-11 22:13:09 -08:00
Mitchell Hashimoto
85b8ccc2ec Provisioners now register themselves with their shortcut name 2011-01-11 19:52:55 -08:00
Michael Bearne
eda6b81093 re-implemented redhat distribution of host only network with additional check to see if network interface is up as on intial setup when not using dhcp the interface will be down as dhcp lookup will time out. To prevent vagrant time out on boot you need to add file /etc/dhclient.conf with value content timeout 1; to guest this is beacuse the default is 60 seconds this should be done in the base box 2011-01-10 17:15:15 +00:00
Mitchell Hashimoto
3ff1162230 Style fix to align autoload strings 2011-01-09 12:50:44 -08:00
Mitchell Hashimoto
b1627ca41b Sleep less time while waiting for the VM to boot 2011-01-09 12:48:21 -08:00
Mitchell Hashimoto
dc4bf530fb Use the env["key"] style instead of env.env.key 2011-01-09 12:35:48 -08:00
Mitchell Hashimoto
968499bd5c Hash#select returns an array on 1.8.7 and a hash on 1.9.2. Make sure it is always a Hash. 2011-01-08 21:27:44 -08:00
Mitchell Hashimoto
8d529931ef Be gone glob loader! Move everything to autoload or explicit require. 2011-01-07 01:12:16 -08:00
James Turnbull
3849355ef6 Basic Puppet Server provisioner 2011-01-06 13:33:22 -08:00
Mitchell Hashimoto
e0c716e454 Fix automount select to accept key/val instead of just val 2011-01-04 20:10:34 -08:00
Mitchell Hashimoto
fb8f0c010b Reload config after downloading box during up [closes GH-231] 2010-12-31 21:41:05 -06:00
Mitchell Hashimoto
e12d96d4df Only automount NFS folders which have guest path specified 2010-12-31 02:24:49 -06:00
Mitchell Hashimoto
c1be64ae61 Shared folders with no guest path are not automounted [closes GH-184] 2010-12-31 02:19:27 -06:00
Mitchell Hashimoto
4cbce66ab1 Downloaders have clearer output to note what they're doing 2010-12-31 01:44:30 -06:00
Mitchell Hashimoto
e19788701e Don't disable networks on halt/destroy. 2010-12-24 19:02:11 -08:00
Mitchell Hashimoto
c32ab0442c Change the mechanism by which useless host only networks are detected and destroyed 2010-12-24 18:57:44 -08:00
Mitchell Hashimoto
2018fd8645 "vbox-prev" bug still exists, but filename changes for VB4 2010-12-24 18:35:46 -08:00
Mitchell Hashimoto
e4488c415e Update destroy to use new API for VB4 2010-12-24 15:19:31 -08:00
Mitchell Hashimoto
7c7f5d48fe Don't need to call ".new" on raising exceptions 2010-12-21 20:04:21 -08:00
Mitchell Hashimoto
2358130c0e Show error if host only networking on Windows 2010-12-21 19:52:41 -08:00
Brian P O'Rourke
4e2472befc Typo fixes for docs 2010-12-14 22:06:15 -08:00
Brice Figureau
446ab32e0e Allow to recursively include files when packaging a box
This allows to bundle with a box a set of puppet manifests or chef cookbooks.
This supports both shell globbing and recursive copy of full directories.

Usage:

vagrant package ... --include=manifests
This would bundle the whole manifests/ directory

vagrant package ... --include=id*
This would bundle all files with prefix id in the produced box

Signed-off-by: Brice Figureau <brice@daysofwonder.com>
2010-12-14 21:51:33 -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
331e0841e5 Box collection reloads after downloading during CheckBox. [closes GH-229] 2010-11-30 20:19:24 -08:00
Mitchell Hashimoto
92c37f7435 Remove environment_load action chain. It wasn't used. 2010-10-13 18:53:15 -07:00
Mitchell Hashimoto
f1a3c75bcb Somewhat ghetto callback system in place to handle validations now. This will definitely get looked at again in the near future. 2010-10-13 18:51:12 -07:00
Mitchell Hashimoto
82d73ebe3c General validation middleware 2010-10-13 18:40:12 -07:00
Mitchell Hashimoto
341e7916f4 Port collision type mismatches fixed. [closes GH-185] 2010-10-09 01:21:52 -07:00
Mitchell Hashimoto
5fcf10d6cd Validations to assure base MAC address is set 2010-10-08 10:44:19 -07:00
Mitchell Hashimoto
eaaf55ea8a up --no-provision works again. This disables provisioning during the process. 2010-10-03 18:34:33 -07:00
Mitchell Hashimoto
cf823cadb5 Action warden doesn't do recovery process on SystemExit exceptions, allowing double ctrl-C to work properly again. 2010-10-01 10:08:38 -07:00
Mitchell Hashimoto
61314c5e21 Only check for box directory if it is set during unpackage recovery [related to GH-170] 2010-10-01 09:20:18 -07:00
Mitchell Hashimoto
bad251a20d NFS no longer attempts to clean exports file if VM is not created, which caused a stack trace during recovery. 2010-09-30 01:16:45 -07:00
Mitchell Hashimoto
ea6904761f Check box action no longer needs to load_box! 2010-09-27 13:42:53 -07:00
Mitchell Hashimoto
2e3be3789e More documentation and fixed some YARD warnings 2010-09-23 09:53:18 -07:00
Mitchell Hashimoto
fdb82ab4a4 Remove unused code 2010-09-23 09:44:59 -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
f37710a4bd Remove logger helper from action environment class 2010-09-20 09:44:51 -06:00
Mitchell Hashimoto
036edfcc2a Only destroy the VM if the exception raised is not a Vagrant error 2010-09-14 00:48:31 -06:00
Mitchell Hashimoto
7c42300002 Expose the exception which triggers recovery methods through the "vagrant.error" environmental hash 2010-09-13 23:43:37 -06:00