Commit Graph

4804 Commits

Author SHA1 Message Date
Mitchell Hashimoto a48ef2ec97 core: more user-friendly errors for caps on guests 2014-01-09 10:24:25 -08:00
Mitchell Hashimoto ba5400b89b core: raise user-friendly errors if capabilities exception in Guest 2014-01-09 10:13:33 -08:00
Mitchell Hashimoto 23c08eae9c Fix up translations 2014-01-09 10:04:31 -08:00
Mitchell Hashimoto 396511b389 core: Remove unused error classes 2014-01-09 10:03:28 -08:00
Mitchell Hashimoto b087352a14 Remove unused translations and errors thanks to @glebm 2014-01-09 09:38:59 -08:00
Mitchell Hashimoto 9fe702a000 core: tests for Guest#name 2014-01-09 09:09:40 -08:00
Mitchell Hashimoto 013a9ae779 Merge pull request #2794 from tmatilai/cabability_host_name
core: reintroduce `name` attribute for the `Guest`
2014-01-09 09:07:30 -08:00
Mitchell Hashimoto 68a355931c core: test that forking is allowed in a BatchAction 2014-01-08 21:43:46 -08:00
Mitchell Hashimoto 9649712fce core: BatchAction should handle forks [GH-2756] 2014-01-08 21:36:24 -08:00
Mitchell Hashimoto 680f6c1e69 Update CHANGELOG 2014-01-08 21:00:24 -08:00
Teemu Matilainen c638df9dcb core: Tweak host/guest capability logging
- Use downcase logger name as everywhere else
- Remove duplicate logging from the Guest
2014-01-09 01:59:08 -03:00
Teemu Matilainen f1d71f9481 core: Reintroduce `name` attribute for the `Guest`
Maintain compatibility for vagrant-vbguest plugin which uses it.
vagrant-vbguest doesn't use the caps system (to keep compatibility with
older Vagrant versions), but includes similar functionality itself.
2014-01-09 01:59:08 -03:00
Mitchell Hashimoto 5e835f4201 Merge pull request #2792 from smoyer/redhat_hostname_patch
guests/redhat: use FQDN for hostname
2014-01-08 20:58:59 -08:00
Mitchell Hashimoto 62028b2df3 core: log plugins and their versions
/cc tmatilai - Bundler makes it nice and easy.
2014-01-08 20:04:57 -08:00
Mitchell Hashimoto b9e701f853 catch errors that happen before Vagrant is even loaded 2014-01-08 20:04:48 -08:00
Mitchell Hashimoto 7631a38601 core: refactor error initialization logic
/cc @tmatilai - This includes a test case for the symbol stuff, should
be okay now.
2014-01-08 19:53:43 -08:00
Teemu Matilainen 481924c46d provisioners/docker: Add missing I18n key [GH-2774]
Also sort the docker keys alphabetically.
2014-01-08 22:01:22 -03:00
Mitchell Hashimoto 732a03c1c4 guests/linux: properly quote and insert public key 2014-01-08 15:12:26 -08:00
Mitchell Hashimoto 880281f27f core: better logging for caps 2014-01-08 14:54:28 -08:00
smoyer 3964298504 This was introduced in 1.4.1 with d26c147.
This PR sets the active hostname back to the name specified in the Vagrantfile (fqdn) and updates the unit tests.

Setting it to the short name causes loads of problems while configuring the system. I've had issues with sudoers hostname matching, Weblogic certificate generation and a few others. Even if I changed all of the Chef recipes, the fqdn is set in /etc/sysconfig/network so the active hostname will switch to the fqdn after a reboot.
2014-01-08 17:49:54 -05:00
Mitchell Hashimoto 7c995caae5 core: Catch plugin load errors and show them to the user ina friendly way 2014-01-08 14:45:43 -08:00
Mitchell Hashimoto 010874ffad core: has_plugin? uses the new plugin manager class to check for gems 2014-01-08 10:50:28 -08:00
Mitchell Hashimoto dbaa48ff5b website/docs: tips & tricks for vfile [GH-2788] 2014-01-08 10:42:37 -08:00
Mitchell Hashimoto 86bb6105d5 Update CHANGELOG 2014-01-08 08:56:36 -08:00
Mitchell Hashimoto 9a419c3f63 Merge pull request #2784 from mitchellh/f-host-capabilities
Host Capabilities
2014-01-08 08:54:26 -08:00
Teemu Matilainen 64ea647e09 provisioners/chef-solo: Fix copy&paste "Puppet" from a deprecation message 2014-01-08 13:27:35 -03:00
Mitchell Hashimoto eb6488d89b website/docs: document host capabilities 2014-01-07 21:31:17 -08:00
Mitchell Hashimoto e2af545182 kernel/v2: a host always exists, remove dumb check 2014-01-07 21:20:28 -08:00
Mitchell Hashimoto e9f6c81ab7 hosts/*: proper detect API 2014-01-07 21:18:36 -08:00
Mitchell Hashimoto 5f832467b3 core: event he default host shuld have proper API 2014-01-07 21:16:48 -08:00
Mitchell Hashimoto 26b564566b hosts/null: needs to accept env as param 2014-01-07 21:14:33 -08:00
Mitchell Hashimoto a72e7473d5 hosts/windows: convert 2014-01-07 21:13:21 -08:00
Mitchell Hashimoto 4d47dae5b9 many more hosts converted 2014-01-07 21:11:59 -08:00
Mitchell Hashimoto 4cec8b48d9 hosts/freebsd: convert 2014-01-07 21:01:03 -08:00
Mitchell Hashimoto a6c7cc481e convert more hosts: arch and linux 2014-01-07 20:53:39 -08:00
Mitchell Hashimoto bdb88da743 hosts/bsd: convert to new style 2014-01-07 20:39:24 -08:00
Mitchell Hashimoto 09a425030b core: pass environment into all host caps 2014-01-07 20:34:33 -08:00
Mitchell Hashimoto 5e490e3746 Get tests to pass 2014-01-07 19:26:03 -08:00
Mitchell Hashimoto 93e365bb33 core: Vagrant::Environment uses new host settings 2014-01-07 19:11:08 -08:00
Mitchell Hashimoto 21a610b59b core: whitespace 2014-01-07 18:39:38 -08:00
Mitchell Hashimoto 5922241fcb core: Modify plugin interfaces and API for hosts 2014-01-07 18:38:49 -08:00
Mitchell Hashimoto 04a5e6bcd2 core: Remove Vagrant::Hosts and add Vagrant::Host, a CapabilityHost 2014-01-07 18:34:19 -08:00
Mitchell Hashimoto a83498e32a Merge pull request #2781 from mitchellh/f-abstract-capability
Abstract "Capability" system so it can be used with hosts
2014-01-07 16:35:57 -08:00
Mitchell Hashimoto c1d56da1ca core: get tests passing for changes 2014-01-07 16:29:05 -08:00
Mitchell Hashimoto 40babfc3f7 core: modify Guest to use new CapabilityHost mixin 2014-01-07 16:27:12 -08:00
Mitchell Hashimoto 1f760b2c48 core: pass extra args to detect? when detecting capability host 2014-01-07 16:26:58 -08:00
Mitchell Hashimoto b15cb22e3e core: errors expose their extra data 2014-01-07 16:15:32 -08:00
Mitchell Hashimoto 1f6095f912 core: Vagrant::CapabilityHost is a module for adding capabilities to
things
2014-01-07 16:12:12 -08:00
Mitchell Hashimoto 72dd32e69c website/docs: note sendfile 2014-01-07 14:26:56 -08:00
Mitchell Hashimoto fea63500a0 Update README 2014-01-07 14:22:59 -08:00