Commit d04983f3ce52623783b7c95bfef1fec2c943e250

Authored by Yossef Mendelssohn

Merge pull request #20 from JHaals/site_bug

site.pp - Added missing comma.

Showing 1 changed file Inline Diff

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