Commit f570ecfc9bae31b346c66105b5c6edb4d3d92624

Authored by Will Farrington
1 parent fa4648ddd4

fail if no FDE, this should be parity once rubygems provider is fixed

Showing 1 changed file with 5 additions and 0 deletions 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 }
18 18
File { 19 19 File {
group => 'staff', 20 20 group => 'staff',
owner => $luser 21 21 owner => $luser
} 22 22 }
23 23
Package { 24 24 Package {
provider => homebrew, 25 25 provider => homebrew,
require => Class['homebrew'] 26 26 require => Class['homebrew']
} 27 27 }
28 28
Repository { 29 29 Repository {
provider => git, 30 30 provider => git,
extra => [ 31 31 extra => [
'--recurse-submodules' 32 32 '--recurse-submodules'
], 33 33 ],
require => Class['git'] 34 34 require => Class['git']
} 35 35 }
36 36
Service { 37 37 Service {
provider => ghlaunchd 38 38 provider => ghlaunchd
} 39 39 }
40 40
node default { 41 41 node default {
# core modules, needed for most things 42 42 # core modules, needed for most things
include dnsmasq 43 43 include dnsmasq
include git 44 44 include git
include hub 45 45 include hub
include nginx 46 46 include nginx
include nvm 47 47 include nvm
include rbenv 48 48 include rbenv
49 49
50 # fail if FDE is not enabled
51 if $::root_encrypted == false {
52 fail('Please enable full disk encryption and try again')
53 }
54
# node versions 50 55 # node versions
include nodejs::0-4 51 56 include nodejs::0-4
include nodejs::0-6 52 57 include nodejs::0-6
include nodejs::0-8 53 58 include nodejs::0-8
54 59
# default ruby versions 55 60 # default ruby versions
include ruby::1-8-7 56 61 include ruby::1-8-7
include ruby::1-9-2 57 62 include ruby::1-9-2
include ruby::1-9-3 58 63 include ruby::1-9-3