Mitchell Hashimoto
4d3159ff7e
Fix configure_networks for Fedora as well
2013-04-08 11:08:14 -07:00
Mitchell Hashimoto
78d4d0a790
Networks come back up properly after reboot on RedHat [GH-921]
2013-04-08 11:02:03 -07:00
Mitchell Hashimoto
fd157476b4
extend should be include for TemplateRenderer in caps
2013-04-08 10:47:19 -07:00
Mitchell Hashimoto
2ddefd49a1
Convert capability name to symbol for lookup
2013-04-08 10:44:56 -07:00
Mitchell Hashimoto
a9b2ab33ad
Convert network type to symbol so that strings can be used
2013-04-08 10:39:26 -07:00
Mitchell Hashimoto
88b34d3b71
Message on `up` that VM is already running [GH-1558]
2013-04-08 09:09:23 -07:00
Mitchell Hashimoto
c1acdc2409
Get rid of ruby warning from shadowing in SSH command
2013-04-07 22:10:50 -07:00
Mitchell Hashimoto
8b2bf72e8a
Fix parsing SSH extra args in multi-machine envs [GH-1545]
2013-04-07 22:07:55 -07:00
Mitchell Hashimoto
7fa9892b75
Send SSH keep-alive packets [GH-516]
2013-04-07 21:51:14 -07:00
Mitchell Hashimoto
47dfd81fd1
Change default puppet manifest to be init.pp in template
2013-04-07 15:07:50 -07:00
Mitchell Hashimoto
142cc4bef7
rtcuseutc as sane default for VBox [GH-912]
2013-04-07 15:04:38 -07:00
Mitchell Hashimoto
efaabea5c0
Use vagrant tmp directory for boxes [GH-1442]
2013-04-07 14:48:56 -07:00
Mitchell Hashimoto
998122e076
Box adding is done in a helper that ensures temporary files are cleaned
2013-04-07 14:43:52 -07:00
Mitchell Hashimoto
f203c29fbb
Builders are merged when using hooks. [GH-1555]
2013-04-07 14:17:40 -07:00
Mitchell Hashimoto
9f49b9298e
vagrant ssh on Cygwin won't output DOS path file warnings
2013-04-07 13:57:24 -07:00
Mitchell Hashimoto
5fe8cbb083
Proper clear line text for Cygwin
2013-04-07 13:48:26 -07:00
Mitchell Hashimoto
162239d2cd
Expand file paths when adding boxes in Cygwin
2013-04-07 13:46:46 -07:00
Mitchell Hashimoto
421e16fefa
Merge pull request #1554 from schisamo/redhat-network-fixes
...
Red Hat / Fedora networking template fixes
2013-04-07 13:11:15 -07:00
Seth Chisamore
7ed406629b
`static` is not a valid BOOTPROTO value
...
Valid BOOTPROTO choices include: `none`, `bootp` and `dhcp`. In the case
of static network addresses `none` should be used.
2013-04-07 15:57:56 -04:00
Seth Chisamore
b89e593070
ensure static network changes don't update DNS
...
`PEERDNS=no` ensures the DNS settings (from /etc/resolv.conf) are not
overwritten when we do an ifdown/ifup cycle to apply Vagrant's
changes.
2013-04-07 15:50:13 -04:00
Mitchell Hashimoto
c34c8b39c3
Expand Cygwin path to Windows for VirtualBox shared folders
2013-04-06 22:08:41 -07:00
Mitchell Hashimoto
373a1d8633
Properly expand cygwin paths to Windows path for vboxmanage
2013-04-06 22:06:33 -07:00
Mitchell Hashimoto
96ebd3e8f7
Providers can support multiple box formats if they choose to.
...
Currently, providers must match a box format exactly the same
as that provider's name. i.e. the virtuabox provider needs a
"virtualbox" box and the "vmware_fusion" provider needs a
"vmware_fusion" box. Now, the provider can specify what the box format
is they want and support multiple if wanted.
Other box formats are specified in the provider definition within
a plugin:
class Plugin < Vagrant.plugin("2", "provider")
# ... other stuff
provider("foo", box_format: ["virtualbox", "other_format"]) do
# .. same
end
end
Now when using the example "foo" provider above, boxes for both
"virtualbox" or "other_format" are searched for. If both are found,
the order in which the formats exist determines precedence.
2013-04-06 18:21:16 -07:00
Mitchell Hashimoto
868f8d4061
Detect PuTTY Link on Windows and show error [GH-1518]
2013-04-06 16:50:59 -07:00
Mitchell Hashimoto
0874d4a77a
Assume Cygwin has a TTY for input [GH-1430]
2013-04-06 16:07:20 -07:00
Mitchell Hashimoto
5ca89383f8
Simplify cygwin check everywhere
2013-04-06 16:05:13 -07:00
Mitchell Hashimoto
fb9c311b4d
Always colorize Cygwin output
2013-04-06 16:03:25 -07:00
Mitchell Hashimoto
fbdd46a130
On Windows, prefer USERPROFILE for home directory path
2013-04-06 15:53:58 -07:00
Mitchell Hashimoto
744c879998
Don't repair forwarded port to used forwarded port
2013-04-06 14:12:33 -07:00
Mitchell Hashimoto
17a312b293
Expand the file URL when adding a box
2013-04-05 21:27:00 -07:00
Mitchell Hashimoto
d7990721a0
s/not/!/ in ansible provisioner config
2013-04-05 09:43:56 -07:00
Mitchell Hashimoto
cd14767ef5
Merge pull request #1551 from commandtab/validate_ansible_extra_vars
...
Validate that Ansible extra_vars is a hash
2013-04-05 09:43:19 -07:00
Collin Allen
d783b33fe2
Validate that extra_vars is a hash
2013-04-05 09:40:32 -07:00
Mitchell Hashimoto
5949f256bd
Merge pull request #1550 from commandtab/ansible_extra_vars_hash
...
Make Ansible provisioner extra_vars a hash
2013-04-05 09:27:16 -07:00
Collin Allen
c2b43787c5
Make Ansible extra_vars a hash instead of a string
2013-04-05 08:43:45 -07:00
Mitchell Hashimoto
1957efb4e1
Nicer error if ansible-playbook is not installed on the host
2013-04-04 14:01:26 -07:00
Mitchell Hashimoto
783cb4cf70
Merge pull request #1543 from jefflab/master
...
Setting the `VAGRANT_DEFAULT_PROVIDER` environment variable breaks the unit tests
2013-04-04 13:52:19 -07:00
Mitchell Hashimoto
896db2f190
Ansible provisioner support CHANGELOG
2013-04-04 13:48:58 -07:00
Jeff LaBarge
8746d0193d
Remove redundant test that breaks if `VAGRANT_DEFAULT_PROVIDER` is set.
2013-04-04 13:47:37 -07:00
Mitchell Hashimoto
1c2a46ba72
Merge ansible provisioner [GH-1465]
2013-04-04 13:39:36 -07:00
Mitchell Hashimoto
cf9eb509a9
Don't preserve modified time when untarring files [GH-1539]
2013-04-04 13:32:37 -07:00
Mitchell Hashimoto
fd0661c20e
Merge branch 'guest-capabilities-system'
...
This replaces the old "guest" sysetm with a new "guest + capabilities" system.
This introduces two new abstractions to replace the old system:
1. Guests - These are responsible for simply detecting the guest OS.
2. Guest Capabilities - These are specific tasks that a guest OS are
capable of performing. For example, "mount_virtualbox_shared_folders" or
"configure_networks"
This new system improves the old system because the old system hardcoded
all capabilities of guests into a single static class. This system allows
dynamically adding new capabilities as they're needed and testing for
their existence.
This means it is now possible for the Chef provisioner (as an example)
to run the "install_chef" capability if it exists, allowing guests to handle
installing Chef. COOL! If the capability doesn't exist, Chef can ignore it,
error, etc. Plugins can dynamically add new capabilities to existing operating
systems.
AWESOME!
2013-04-04 12:58:16 -07:00
Mitchell Hashimoto
296d32c099
Update CHANGELOG
2013-04-04 12:58:07 -07:00
Mitchell Hashimoto
7b9e5fd4a7
Include should be extend for class methods
2013-04-04 12:25:40 -07:00
Mitchell Hashimoto
439499fc11
Solaris capabilities
2013-04-04 12:25:10 -07:00
Mitchell Hashimoto
5e09577a76
Lots more guest capabilities converted
2013-04-04 12:09:40 -07:00
Mitchell Hashimoto
2c362d4d28
FreeBSD capabilities
2013-04-04 11:56:42 -07:00
Mitchell Hashimoto
8bf9fb17b1
Remove freeBSD config because it isn't used anymore
2013-04-04 11:50:05 -07:00
Mitchell Hashimoto
0e4e347308
Fedora capabilities
2013-04-04 11:49:26 -07:00
Mitchell Hashimoto
7f33081387
Convert arch to capabilities
2013-04-04 11:39:58 -07:00