agiledivider / vagrant-hostsupdater

MIT License
1.15k stars 129 forks source link

Hostnames don't change on Provision #143

Open benyanke opened 7 years ago

benyanke commented 7 years ago

Given the following workflow, the hostnames are not correctly updated.

In this circumstance, the plugin simply reports "found entry" instead of correctly deleting and replacing, leaving the olddomain.com in the hosts file, and not applying newdomain.com to the hosts file.

cgsmith commented 6 years ago

@benyanke thanks for the bug report - I will test it out locally and come up with a fix. PRs welcome!