All Projects → boxen → puppet-homebrew

boxen / puppet-homebrew

Licence: MIT License
Install Homebrew.

Programming Languages

ruby
36898 projects - #4 most used programming language
Puppet
460 projects
shell
77523 projects
HTML
75241 projects

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' ;
  }
}

# Installing homebrew formulas, and passing in arbitrary flags, like:
# brew install php54 --with-fpm --without-apache

package { 'php54':
  ensure => present,
  install_options => [
    '--with-fpm',
    '--without-apache'
  ],
  require => Package['zlib']
}

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].