Commit fa4648ddd4ac37df1f50d5c4703706227b00dda6
1 parent
d033649177
add some common packages to default node config
Showing 1 changed file with 9 additions and 0 deletions Inline Diff
manifests/site.pp
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 | |||
# node versions | 50 | 50 | # node versions | |
include nodejs::0-4 | 51 | 51 | include nodejs::0-4 | |
include nodejs::0-6 | 52 | 52 | include nodejs::0-6 | |
include nodejs::0-8 | 53 | 53 | include nodejs::0-8 | |
54 | 54 | |||
# default ruby versions | 55 | 55 | # default ruby versions | |
include ruby::1-8-7 | 56 | 56 | include ruby::1-8-7 | |
include ruby::1-9-2 | 57 | 57 | include ruby::1-9-2 | |
include ruby::1-9-3 | 58 | 58 | include ruby::1-9-3 | |
59 |