Provisioner should update all hosts #142
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This would be useful because when a new machine is created/provisioned, it makes sense that it be added to all the other machines' hostfiles, allowing them to communicate with it.
If a machine is reloaded and gets a new IP, and the host-manager provisioner is set to always run, it'd also be beneficial for the provisioner to update the IP on all hosts, not just the one being reloaded and possibly master.
If possible, this would be a good provisioner option, something like
config.vm.provision 'hostmanager', update: "all", run: "always"
. I don't know how to accomplish this though, I'm new to Vagrant plugins.