Commit a5db44c85504ac431a346c7307f939f873038a36

Authored by Will Farrington
1 parent 8088edd47f

new class names

Showing 1 changed file with 4 additions and 4 deletions Inline Diff

require boxen::environment 1 1 require boxen::environment
require homebrew 2 2 require homebrew
require gcc 3 3 require gcc
4 4
Exec { 5 5 Exec {
group => 'staff', 6 6 group => 'staff',
logoutput => on_failure, 7 7 logoutput => on_failure,
user => $luser, 8 8 user => $luser,
9 9
path => [ 10 10 path => [
"${boxen::config::home}/rbenv/shims", 11 11 "${boxen::config::home}/rbenv/shims",
"${boxen::config::home}/rbenv/bin", 12 12 "${boxen::config::home}/rbenv/bin",
"${boxen::config::home}/rbenv/plugins/ruby-build/bin", 13 13 "${boxen::config::home}/rbenv/plugins/ruby-build/bin",
"${boxen::config::home}/homebrew/bin", 14 14 "${boxen::config::home}/homebrew/bin",
'/usr/bin', 15 15 '/usr/bin',
'/bin', 16 16 '/bin',
'/usr/sbin', 17 17 '/usr/sbin',
'/sbin' 18 18 '/sbin'
], 19 19 ],
20 20
environment => [ 21 21 environment => [
"HOMEBREW_CACHE=${homebrew::config::cachedir}", 22 22 "HOMEBREW_CACHE=${homebrew::config::cachedir}",
"HOME=/Users/${::luser}" 23 23 "HOME=/Users/${::luser}"
] 24 24 ]
} 25 25 }
26 26
File { 27 27 File {
group => 'staff', 28 28 group => 'staff',
owner => $luser 29 29 owner => $luser
} 30 30 }
31 31
Package { 32 32 Package {
provider => homebrew, 33 33 provider => homebrew,
require => Class['homebrew'] 34 34 require => Class['homebrew']
} 35 35 }
36 36
Repository { 37 37 Repository {
provider => git, 38 38 provider => git,
extra => [ 39 39 extra => [
'--recurse-submodules' 40 40 '--recurse-submodules'
], 41 41 ],
require => Class['git'] 42 42 require => Class['git']
} 43 43 }
44 44
Service { 45 45 Service {
provider => ghlaunchd 46 46 provider => ghlaunchd
} 47 47 }
48 48
Homebrew::Formula <| |> -> Package <| |> 49 49 Homebrew::Formula <| |> -> Package <| |>
50 50
node default { 51 51 node default {
# core modules, needed for most things 52 52 # core modules, needed for most things
include dnsmasq 53 53 include dnsmasq
include git 54 54 include git
include hub 55 55 include hub
include nginx 56 56 include nginx
include nvm 57 57 include nvm
include ruby 58
59 58
# fail if FDE is not enabled 60 59 # fail if FDE is not enabled
if $::root_encrypted == 'no' { 61 60 if $::root_encrypted == 'no' {
fail('Please enable full disk encryption and try again') 62 61 fail('Please enable full disk encryption and try again')
} 63 62 }
64 63
# node versions 65 64 # node versions
include nodejs::0-4 66 65 include nodejs::0-4
include nodejs::0-6 67 66 include nodejs::0-6
include nodejs::0-8 68 67 include nodejs::0-8
69 68
# default ruby versions 70 69 # default ruby versions
include ruby::1-8-7 71 70 include ruby::1_8_7
include ruby::1-9-2 72 71 include ruby::1_9_2
include ruby::1-9-3 73 72 include ruby::1_9_3
73 include ruby::2_0_0
74 74
# common, useful packages 75 75 # common, useful packages
package { 76 76 package {
[ 77 77 [