0.0
No commit activity in last 3 years
No release in over 3 years
Vagrant plugin to install vagga in the box
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0
 Project Readme

Vagrant::Vagga

Vagrant plugin that simplifies installation and usage of Vagga. It provides:

  • Automatic Vagga installation into the vagrant box (only ubuntu/trusty64 was tested, open an issue if you have troubles with other boxes)
  • vagga command for vagrant. Instead of SSH'ing into the machine you can use vagga like vagrant vagga <vagga arguments>

Installation

Install gem to vagrant:

$ vagrant plugin install vagrant-vagga

Make your Vagga project support Windows or MacOS

  1. Install Vagrant
  2. Add Vagrantfile with content like in Usage paragraph below
  3. Install vagrant-vagga plugin
  4. You're awesome!

Example project: https://github.com/rrader/vagrant-vagga/tree/master/example

Usage

Vagrantfile should contain provision line to install vagga on vagrant up. Also you can add protection for users without this plugin to remind them install it.

unless Vagrant.has_plugin?("vagrant-vagga")
  abort 'vagrant-vagga plugin is not installed! Do first # vagrant plugin install vagrant-vagga'
end

Vagrant.configure("2") do |config|
  config.vm.box = "ubuntu/trusty64"
  config.vm.provision :vagga
end

Note: Currently, only the ubuntu/trusty64 box has been tested with this plugin.

Your working directory with Vagrantfile should also contain vagga.yaml, which is implied by plugin logic.

$ vagrant vagga
[... long output spinning up the VM (only first time)]
Available commands:
    run                 Run app
    setup               Setup application
    test                Run unit tests

$ vagrant vagga test
<...> # building images

vagga-testing

If you want to use vagga-testing version of vagga, add config.vagga.testing = true to your Vagrantfile.

Development

http://docs.vagrantup.com/v2/plugins/development-basics.html

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rrader/vagrant-vagga.

License

The gem is available as open source under the terms of the MIT License.