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