/puppet-homebrew

Install Homebrew.

Primary LanguageRubyMIT LicenseMIT

Homebrew Puppet Module for Boxen

Build Status

Install Homebrew, a package manager for Mac OS X.

Usage

include homebrew

# Declaring a custom package formula, and installing package

class clojure {
  homebrew::tap { 'homebrew/versions': }

  homebrew::formula {
    'clojure': ; # source defaults to puppet:///modules/clojure/brews/clojure.rb
    'leinengen':
      source => 'puppet:///modules/clojure/brews/leinengen.rb' ;
  }

  package {
    'boxen/brews/clojure':
      ensure => 'aversion' ;
    'boxen/brews/leinengen':
      ensure => 'anotherversion' ;
  }
}

Required Puppet Modules

  • boxen, >= 1.2
  • repository, >= 2.0
  • stdlib, >= 4.0

Development

Write code. Run script/cibuild to test it. Check the script directory for other useful tools.