vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Plugin::V1::Provisioner#prepare
This is the method called to "prepare" the provisioner. This is called
before any actions are run by the action runner (see {Vagrant::Actions::Runner}).
This can be used to setup shared folders, forward ports, etc. Whatever is
necessary on a "meta" level.
No return value is expected.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/plugin/v1/provisioner.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Plugin--V1--Provisioner-prepare-for-pr
# Commit to gitgit add lib/vagrant/plugin/v1/provisioner.rbgit commit -m "better docs for Vagrant::Plugin::V1::Provisioner#prepare"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Plugin--V1--Provisioner-prepare-for-pr
hub pull-request
# Celebrate!