An open API service indexing awesome lists of open source software.

https://github.com/fnichol/vagrant-butter

Smooth out Vagrantfiles with some common helpers and shims
https://github.com/fnichol/vagrant-butter

Last synced: 3 months ago
JSON representation

Smooth out Vagrantfiles with some common helpers and shims

Awesome Lists containing this project

README

        

# vagrant-butter

## Installation

Using Vagrant installed from package:

```sh
$ vagrant gem install vagrant-butter
```

Using Vagrant installed as a gem:

```sh
$ 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

```ruby
include Vagrant::Butter::Helpers
```

## Patches

### SuSE Halting and Setting Hostname

#### Usage

```ruby
require 'vagrant/butter/systems/suse'
```

## Development

* Source hosted at [GitHub][repo]
* Report issues/questions/feature requests on [GitHub Issues][issues]

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] ()

## License

MIT (see [LICENSE][license])

[license]: https://github.com/fnichol/vagrant-butter/blob/master/LICENSE
[fnichol]: https://github.com/fnichol
[repo]: https://github.com/fnichol/vagrant-butter
[issues]: https://github.com/fnichol/vagrant-butter/issues
[contributors]: https://github.com/fnichol/vagrant-butter/contributors