Commit 2ca5befc429c1bdad1dcfb1d9d407c3e0c62fcf6
1 parent
f54871efa0
fix
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
manifests/site.pp
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::hime}/rbenv/bin", | 12 | 12 | "${boxen::config::hime}/rbenv/bin", | |
"${boxen::config::hime}/rbenv/plugins/ruby-build/bin", | 13 | 13 | "${boxen::config::hime}/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 | 58 | include ruby | |
59 | 59 | |||
# fail if FDE is not enabled | 60 | 60 | # fail if FDE is not enabled | |
if $::root_encrypted == false { | 61 | 61 | if $::root_encrypted == 'no' { | |
fail('Please enable full disk encryption and try again') | 62 | 62 | fail('Please enable full disk encryption and try again') | |
} | 63 | 63 | } | |
64 | 64 | |||
# node versions | 65 | 65 | # node versions | |
include nodejs::0-4 | 66 | 66 | include nodejs::0-4 | |
include nodejs::0-6 | 67 | 67 | include nodejs::0-6 | |
include nodejs::0-8 | 68 | 68 | include nodejs::0-8 | |
69 | 69 | |||
# default ruby versions | 70 | 70 | # default ruby versions | |
include ruby::1-8-7 | 71 | 71 | include ruby::1-8-7 | |
include ruby::1-9-2 | 72 | 72 | include ruby::1-9-2 | |
include ruby::1-9-3 | 73 | 73 | include ruby::1-9-3 | |
74 | 74 | |||
# common, useful packages | 75 | 75 | # common, useful packages |