Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sauce-archives/role-homebrew

Install homebrew and manage homebrew packages
https://github.com/sauce-archives/role-homebrew

Last synced: 2 months ago
JSON representation

Install homebrew and manage homebrew packages

Awesome Lists containing this project

README

        

# homebrew

This installs Homebrew, the Mac OS X package manager.

Make sure to run it as a regular user that will manage packages, since homebrew does not officially support installing as root (see below for an example).

[![Build Status](https://travis-ci.org/saucelabs/role-homebrew.svg?branch=master)](https://travis-ci.org/saucelabs/role-homebrew)

## Role variables

- `homebrew_taps`: A list of brew taps to include.
- `homebrew_packages`: A list of brew packages to install.
- `homebrew_cask`: A list of cask packages to install.

## Example playbook

```
---
- hosts: all
roles:
- role: homebrew
homebrew_packages:
- git
homebrew_casks:
- atom
```

## Testing

- `brew install ruby`
- `brew cask install virtualbox vagrant`
- `gem install bundler`
- `bundle install`
- `kitchen test`

Use of RVM (or similar) to maintain gemsets is highly recommended.