vagrant-invade is a plugin for Vagrant, the tool for creating and maintain virtual machines.
It uses a simple YAML configuration file to automatically build a Vagrantfile for your projects.
Simply run vagrant plugin install vagrant-invade
To install a certain version use the -v 'VERSION'
option.
There are new commands you can use to init, validate and build your Vagrantfile.
vagrant invade init
creates the default invade.yml configuration file for you.
vagrant invade check
will check the checksum of Vagrantfile and invade.yml data. Helpful to check the files without using the build command.
vagrant invade validate
will validate the invade.yml file and gives you a detailed output of missing values, wrong parameters and defaults for each option.
vagrant invade build
will build a Vagrantfile based on what you configured in the 'invade.yml' file and place it to the directory you did run the command. The old Vagrantfile will be saved as backup.
- Box
- Network
- Provider
- VirtualBox
- VMWare
- Provision
- shell
- inline
- puppet-agent
- puppet-apply
- salt
- Synced Folder
- VB
- NFS (use vagrant-winnfsd plugin to support Windows)
Not all features are supported yet. See source code for available options.
With command vagrant invade init
you can create an example invade.yml with all available options you can pick from.
You are able to collaborate to make this plugin even better. You just need a simple setup of ruby software to make it work. You could also use RVM to keep your ruby environment clean.
- Vagrant v1.7+
- Ruby >= 2.0.0
- RubyGems
- Bundler
rvm gemset create vagrant-invade
rvm gemset use vagrant-invade
gem install bundler
bundle install
bundle exec vagrant [command]