vagrant-serverkit (Mock)
vagrant-serverkit is a vagrant plugin for Serverkit.
This plugin dependents on serverkit v0.2.3
.
Installation
NOTE: This plugin is nothing but a mock. Reserve vagrant-serverkit
namespace for serverkit's official plugin.
$ vagrant plugin install vagrant-serverkit-mock
Usage
Set up ~/.ssh/config
:
$ vagrant up --no-provision
$ vagrant ssh-config --host host_name >> ~/.ssh/config
Configure Vagrantfile
:
Vagrant.configure(2) do |config|
config.vm.provision :serverkit do |config|
# Host name set in ~/.ssh/confg
config.host = 'host_name'
# Path to the recipe file
config.recipe = 'recipe.yml'
# Path to the variables file (Optional)
config.variables = 'variables.yml'
end
end
Run:
$ vagrant provision
Contributing
- Fork it ( https://github.com/kami-zh/vagrant-serverkit/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request