Damien Joldersma
7c06c812f6
Fix for issue #108 , add a flag to manage guest hosts file.
2014-11-14 12:42:54 -08:00
Colin Hebert
bc997adc3b
Check that the IP is set before adding a new line
2014-04-01 17:04:56 +11: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
Shawn Dahlen
064d9b8658
Clean up plugin configuration and add comments.
...
This commit cleaned up the plugin's configuration and added code
comments for the hosts_file module. Additionally, display messages were
re-organized based on the single action.
The command still requires code to validate the configuration before
execution.
This closes pull request #18 . Thanks to @b2jrock for his contribution.
2013-06-19 12:11:05 -04:00
Shawn Dahlen
a39877ac27
Add support for managing host /etc/hosts file.
...
This commit also include preservation original /etc/hosts file on
guest machines.
2013-06-18 17:26:29 -04:00
Shawn Dahlen
264856478f
Fix config validation.
...
This commit fixes issue #5 . Additionally, it deactivates the auto
update behavior by default. Users must set `enabled` to true to activate
auto updates for the hosts file.
2013-04-27 08:13:26 -04:00
Shawn Dahlen
ba0decdaa2
update vagrant dependency to 1.2.1
2013-04-26 10:24:01 -04:00
Shawn Dahlen
33c391cfe0
Implement check for already active machine.
...
This commit re-instates the behavior of auto-updating the
/etc/hosts file on each active machine. If machine is already
active, no update will occur.
2013-04-08 13:20:22 -04:00
Shawn Dahlen
e08fc6a811
Fix hook appending to up and destroy actions.
2013-04-04 15:23:55 -04:00
Shawn Dahlen
665b96c044
Proof-of-concept support for managing /etc/hosts.
...
Hooks into the up and destroy commands to manage changes to
the /etc/hosts file on active machines.
2013-03-27 15:38:08 -04:00