devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 146 forks source link

Better example of usage as a provisioner? #161

Closed b-long closed 9 years ago

b-long commented 9 years ago

Hi there,

I know that using vagrant-hostmanager as a provisioner is described here, but would someone be able to show a better example of this method? I'm a bit of a novice with Ruby and I'm trying to configure a multi-node setup using cloudstack and puppet. Since I'm running into issues that don't arise when using VirtualBox (as opposed to cloudstack), I'm hoping to use vagrant-hostmanager as a provisioner to see if that solves my problem.

b-long commented 9 years ago

Hi there, so I think I've found an example usage of vagrant-hostmanager as a provisioner in this repo. It looks as if @irnnr configures hostmanager first, then injects it into the execution order in the desired place.