Commit Graph

226 Commits

Author SHA1 Message Date
Paulo Bittencourt 378cfda03c remove redundant initialization from Config 2014-05-26 13:13:06 -04:00
Paulo Bittencourt 25c83e57eb update vagrant dependency to 1.6.2 2014-05-25 12:43:36 -04:00
Paulo Bittencourt b0182c1ca3 Merge pull request #95 from bkon/feature/sudo-docs
Documentation on how to set up password-less sudo for this plugin.
2014-05-25 10:43:06 -04:00
Paulo Bittencourt 4024856005 run hostmanager before provisioners on up action
Fixes #73.
2014-05-25 00:48:35 -04:00
Konstantin Burnaev bb6e0efb7c Fixed a minor typo in README.md 2014-05-25 08:20:02 +10:00
Konstantin Burnaev 17cce69c38 Minor documentation update. 2014-05-25 08:18:25 +10:00
Paulo Bittencourt fc1fde759d Merge pull request #93 from colandre/master
Force move on linux systems
2014-05-16 00:57:50 -04:00
colandre 78cf4b239d Force move on linux systems
If the script is run as root, usually mv has an alias to ask for
overwriting. This force the overwriting.
2014-05-14 16:06:12 +02:00
Paulo Bittencourt 21f7d23105 Update CHANGELOG.md 2014-04-27 12:14:04 -04:00
Paulo Bittencourt 5f854824e2 Merge pull request #85 from ColinHebert/fix_no_ip
Check that the IP is set before adding a new line to the hosts file
2014-04-27 12:06:50 -04:00
Paulo Bittencourt ae7ac77efa Merge pull request #67 from thematthopkins/windows_guests
Fix for windows guests running on non-windows hosts.
2014-04-27 11:14:12 -04:00
Colin Hebert bc997adc3b Check that the IP is set before adding a new line 2014-04-01 17:04:56 +11:00
Matthew Hopkins debf5e732a winder update 2014-03-18 09:00:11 -04:00
Matthew Hopkins 18d3083f07 Merge branch 'master' of github.com:smdahlen/vagrant-hostmanager into windows_guests 2014-03-18 08:54:11 -04:00
Paulo Bittencourt e9265645e2 Merge pull request #84 from pbitty/release_140
Ready for 1.4.0 release
2014-03-17 22:35:18 -04:00
Paulo Bittencourt b768485fa3 bump for 1.4.0 release 2014-03-17 22:32:35 -04:00
Paulo Bittencourt 68aee1d3d9 create changelog 2014-03-17 22:25:19 -04:00
Paulo Bittencourt f22cccb741 allow overriding vagrant box in test Vagrantfile via ENV variable 2014-03-17 21:20:59 -04:00
Paulo Bittencourt 552a791ef4 fix provisioner issue in vagrant 1.5
relates to #80
2014-03-17 21:20:59 -04:00
Paulo Bittencourt 3350c07bdc update Gemfile and test Vagrantfile to support vagrant 1.5
relates to #80
2014-03-17 21:20:59 -04:00
Paulo Bittencourt c5e3b5e345 Merge pull request #81 from januzis/vagrant-1.5-support
Replaced deprecated config_global with vagrantfile.config to support vagrant 1.5 API
2014-03-16 13:51:45 -04:00
januzis 5a22784753 Fixes introduced error running vagrant hostmanager command 2014-03-12 21:23:33 +01:00
januzis c6219655f5 Replaced deprecated config_global with vagrantfile.config 2014-03-12 11:51:14 +01:00
Paulo Bittencourt 56ce9f895d Merge pull request #78 from thematthopkins/less_sudo_2
only update hosts file if it has changed - for both host and guest

Closes #68.
2014-02-24 23:24:42 -05:00
Paulo Bittencourt a7a90d5aae Merge pull request #79 from pbitty/fix_pr52_regression
Fix regression in #52.
2014-02-24 23:23:46 -05:00
Matthew Hopkins 3051f4b3e3 only update hosts file if it has changed - for both host and guest 2014-02-24 14:14:57 -05:00
Paulo Bittencourt fec2c501fd Fix regression in #52.
We accidentally stopped filtering out machines from other providers.
2014-02-24 13:10:37 -05:00
Paulo Bittencourt 93fd353135 Merge pull request #64 from sstrato/patch-1
only first private_network is used
2014-02-20 20:44:34 -05:00
Paulo Bittencourt 4ba0d56bdb Merge pull request #52 from pbitty/hosts_file_sync
Sync state with hosts file in blocks
2014-02-20 20:03:40 -05:00
Paulo Bittencourt 8f041f5ef6 make get_machines return machine instances instead of machine names 2014-02-17 16:32:56 -05:00
Paulo Bittencourt ab5d82275a sync hosts file state in blocks instead of lines 2014-02-17 16:32:52 -05:00
Matthew Hopkins e59ec19a03 Fix for windows guests running on non-windows hosts. 2014-01-29 16:10:10 -05:00
Paulo Bittencourt ef410e6c04 Merge pull request #62 from elyast/hotfix/1.3.0_ip_resolver
Allow ip resolver to know for which vm other current vm's IP is being resolved
2014-01-23 18:30:06 -08:00
Andrew Yongjoon Kong 2498e053f9 only first private_network is used
this will prevent using last private_network for the hostname
2014-01-16 17:18:49 +09:00
Lukasz Jastrzebski 566d1f2e3b tweaking couple of code review suggestions 2014-01-10 20:51:50 -08:00
Lukasz Jastrzebski 1b63859a57 adding current_machine to resolution 2013-12-19 16:08:31 -08:00
Lukasz Jastrzebski 24dc1c8ed6 fixing incorrect merge 2013-12-19 14:25:05 -08:00
Lukasz Jastrzebski eea9c82d03 Merge branch 'hotfix/1.3.0' 2013-12-19 14:20:55 -08:00
Paulo Bittencourt dd924d00a4 Merge pull request #57 from elyast/master
fixing custom ip resolver
Closes #54.
2013-12-17 22:05:11 -08:00
Lukasz Jastrzebski ed0fe89dd0 fixing etc hosts handling to avoid duplicates 2013-12-15 17:11:51 -08:00
Lukasz Jastrzebski 3f8e617ba7 fixing custom ip resolver 2013-12-15 14:01:08 -08:00
Paulo Bittencourt cb832156f3 Bump for release 2013-11-30 01:44:22 -05:00
Paulo Bittencourt 76f8e17f92 Merge pull request #51 from bf4/add_license_to_gemspe
[#28] Add license to gemspec, is MIT
2013-11-22 09:16:16 -08:00
Benjamin Fleischer 3b4a55e4a8 [#28] Add license to gemspec, is MIT 2013-11-22 07:13:36 -06:00
Paulo Bittencourt af19868ee6 Merge pull request #48 from pbitty/windows_elevate_privileges
elevate privileges in Windows host if necessary
2013-11-20 20:19:27 -08:00
Paulo Bittencourt 1caa3c373b update README with Windows support information 2013-11-20 23:04:37 -05:00
Paulo Bittencourt 3edc923b22 use rbconfig for detecting Windows 2013-11-20 22:15:39 -05:00
Paulo Bittencourt d2b2e00939 elevate privileges in Windows host if necessary 2013-11-20 22:15:37 -05:00
Paulo Bittencourt 02758e32f0 fix indentation (using spaces instead of tabs) 2013-11-18 12:47:10 -05:00
Paulo Bittencourt a426b8503a Merge pull request #49 from Tpbrown/git-bash-windows
Support Cygwin and MinGW on Windows.  Fixes #24
2013-11-18 09:40:56 -08:00