Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
114 lines (99 sloc) 2.1 KB
require boxen::environment
require homebrew
require gcc
Exec {
group => 'staff',
logoutput => on_failure,
user => $boxen_user,
path => [
"${boxen::config::home}/rbenv/shims",
"${boxen::config::home}/rbenv/bin",
"${boxen::config::home}/rbenv/plugins/ruby-build/bin",
"${boxen::config::home}/homebrew/bin",
'/usr/bin',
'/bin',
'/usr/sbin',
'/sbin'
],
environment => [
"HOMEBREW_CACHE=${homebrew::config::cachedir}",
"HOME=/Users/${::boxen_user}"
]
}
File {
group => 'staff',
owner => $boxen_user
}
Package {
provider => homebrew,
require => Class['homebrew']
}
Repository {
provider => git,
extra => [
'--recurse-submodules'
],
# Commented out, don't overwrite my gitconfig
# require => File["${boxen::config::bindir}/boxen-git-credential"],
# config => {
# 'credential.helper' => "${boxen::config::bindir}/boxen-git-credential"
# }
}
Service {
provider => ghlaunchd
}
Homebrew::Formula <| |> -> Package <| |>
node default {
# core modules, needed for most things
include dnsmasq
# Use my own gitconfig
include git
include nginx
include keepassx
include skype
include dropbox
include chrome
include pckeyboardhack
include java
include firefox
include vagrant
include sourcetree
include tunnelblick
include chicken_of_the_vnc
include hipchat
include vmware_fusion
include vlc
include cyberduck
include pgadmin3
include spotify
include jumpcut
include googledrive
include virtualbox
include clipmenu
include macvim
include iterm2::stable
# fail if FDE is not enabled
if $::root_encrypted == 'no' {
fail('Please enable full disk encryption and try again')
}
# node versions
include nodejs::v0_6
include nodejs::v0_8
include nodejs::v0_10
# default ruby versions
ruby::version { '1.9.3': }
ruby::version { '2.0.0': }
ruby::version { '2.1.0': }
# common, useful packages
package {
[
'ack',
'findutils',
'gnu-tar'
]:
}
file { "${boxen::config::srcdir}/our-boxen":
ensure => link,
target => $boxen::config::repodir
}
}