my-boxen/manifests/site.pp

80 lines
1.3 KiB
ObjectPascal
Raw Normal View History

2012-10-03 18:30:37 -04:00
require boxen::environment
require homebrew::repo
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
Exec {
group => 'staff',
logoutput => on_failure,
user => $luser,
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
path => [
"${boxen::config::home}/rbenv/shims",
"${boxen::config::home}/homebrew/bin",
'/usr/bin',
'/bin',
'/usr/sbin',
'/sbin'
]
}
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
File {
group => 'staff',
owner => $luser
}
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
Package {
provider => homebrew,
require => Class['homebrew']
}
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
Repository {
provider => git,
extra => [
'--recurse-submodules'
],
require => Class['git']
}
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
Service {
provider => ghlaunchd
}
2012-10-02 22:54:15 -04:00
2012-10-03 18:30:37 -04:00
node default {
2012-10-04 00:23:28 -04:00
# core modules, needed for most things
2012-10-04 01:32:59 -04:00
include dnsmasq
2012-10-03 18:30:37 -04:00
include git
2012-10-03 21:53:32 -04:00
include hub
include nginx
2012-10-04 00:12:06 -04:00
include nvm
include rbenv
2012-10-04 00:23:28 -04:00
# fail if FDE is not enabled
if $::root_encrypted == false {
fail('Please enable full disk encryption and try again')
}
# Setup real clone of our-boxen and link into BOXEN_HOME
2012-10-04 22:40:09 -04:00
repository { "${::boxen_home}/repo":
ensure => present,
source => 'boxen/our-boxen'
}
2012-10-04 00:23:28 -04:00
# node versions
include nodejs::0-4
2012-10-04 00:23:28 -04:00
include nodejs::0-6
include nodejs::0-8
2012-10-04 00:23:42 -04:00
# default ruby versions
include ruby::1-8-7
include ruby::1-9-2
include ruby::1-9-3
# common, useful packages
package {
[
'ack',
'findutils',
'gnu-tar'
]:
}
2012-10-03 18:30:37 -04:00
}