/vagrant-butter

Smooth out Vagrantfiles with some common helpers and shims

Primary LanguageRubyMIT LicenseMIT

vagrant-butter

Installation

Using Vagrant installed from package:

$ vagrant gem install vagrant-butter

Using Vagrant installed as a gem:

$ gem install vagrant-butter

Middleware

SetHostName

Sets a default host name based on the directory containing your Vagrantfile. For example a project in /tmp/vagrant/chef-testing will set the host name to chef-testing.vagrantup.com.

Helpers

local_ip

Usage

include Vagrant::Butter::Helpers

Patches

SuSE Halting and Setting Hostname

Usage

require 'vagrant/butter/systems/suse'

Development

Pull requests are very welcome! Make sure your patches are well tested. Ideally create a topic branch for every separate change you make. For example:

  1. Fork the repo
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors

Created and maintained by Fletcher Nichol (fnichol@nichol.ca)

License

MIT (see LICENSE)