Blame view
manifests/site.pp
1.3 KB
|
ce459a313
|
1 2 |
require boxen::environment require homebrew::repo |
|
f5a10d9d8
|
3 |
|
|
ce459a313
|
4 5 6 7 |
Exec {
group => 'staff',
logoutput => on_failure,
user => $luser,
|
|
f5a10d9d8
|
8 |
|
|
ce459a313
|
9 10 11 12 13 14 15 |
path => [
"${boxen::config::home}/rbenv/shims",
"${boxen::config::home}/homebrew/bin",
'/usr/bin',
'/bin',
'/usr/sbin',
'/sbin'
|
|
87bd13f8c
|
16 |
], |
|
f8640b770
|
17 18 19 20 21 |
environment => [
"HOMEBREW_CACHE=${homebrew::cachedir}",
"HOME=/Users/${::luser}"
]
|
|
ce459a313
|
22 |
} |
|
f5a10d9d8
|
23 |
|
|
ce459a313
|
24 25 26 27 |
File {
group => 'staff',
owner => $luser
}
|
|
f5a10d9d8
|
28 |
|
|
ce459a313
|
29 30 31 32 |
Package {
provider => homebrew,
require => Class['homebrew']
}
|
|
f5a10d9d8
|
33 |
|
|
ce459a313
|
34 35 36 37 38 39 40 |
Repository {
provider => git,
extra => [
'--recurse-submodules'
],
require => Class['git']
}
|
|
f5a10d9d8
|
41 |
|
|
ce459a313
|
42 43 44 |
Service {
provider => ghlaunchd
}
|
|
f5a10d9d8
|
45 |
|
|
ce459a313
|
46 |
node default {
|
|
a88ba81d8
|
47 |
# core modules, needed for most things |
|
ee43dd9ea
|
48 |
include dnsmasq |
|
ce459a313
|
49 |
include git |
|
466279b7f
|
50 |
include hub |
|
64fe0a9d7
|
51 |
include nginx |
|
ba6fbc987
|
52 |
include nvm |
|
fdb27960f
|
53 |
include ruby |
|
a88ba81d8
|
54 |
|
|
f570ecfc9
|
55 56 57 58 |
# fail if FDE is not enabled
if $::root_encrypted == false {
fail('Please enable full disk encryption and try again')
}
|
|
a88ba81d8
|
59 |
# node versions |
|
8bf478a01
|
60 |
include nodejs::0-4 |
|
a88ba81d8
|
61 62 |
include nodejs::0-6
include nodejs::0-8
|
|
e93eb3c83
|
63 64 |
# default ruby versions
|
|
8bf478a01
|
65 66 67 |
include ruby::1-8-7
include ruby::1-9-2
include ruby::1-9-3
|
|
fa4648ddd
|
68 69 70 71 72 73 74 75 76 |
# common, useful packages
package {
[
'ack',
'findutils',
'gnu-tar'
]:
}
|
|
f8640b770
|
77 78 79 80 81 |
file { "${boxen::config::srcdir}/our-boxen":
ensure => link,
target => $boxen::config::repodir
}
|
|
ce459a313
|
82 |
} |