Commit f77d1c3eec88c5d8742b0ced03a7b49bfebc2936
1 parent
3a47d364c8
Exists in
master
Remove unused packages
Showing 1 changed file with 1 additions and 3 deletions Inline Diff
manifests/site.pp
require boxen::environment | 1 | 1 | require boxen::environment | |
require homebrew | 2 | 2 | require homebrew | |
require gcc | 3 | 3 | require gcc | |
4 | 4 | |||
Exec { | 5 | 5 | Exec { | |
group => 'staff', | 6 | 6 | group => 'staff', | |
logoutput => on_failure, | 7 | 7 | logoutput => on_failure, | |
user => $boxen_user, | 8 | 8 | user => $boxen_user, | |
9 | 9 | |||
path => [ | 10 | 10 | path => [ | |
"${boxen::config::home}/rbenv/shims", | 11 | 11 | "${boxen::config::home}/rbenv/shims", | |
"${boxen::config::home}/rbenv/bin", | 12 | 12 | "${boxen::config::home}/rbenv/bin", | |
"${boxen::config::home}/rbenv/plugins/ruby-build/bin", | 13 | 13 | "${boxen::config::home}/rbenv/plugins/ruby-build/bin", | |
"${boxen::config::home}/homebrew/bin", | 14 | 14 | "${boxen::config::home}/homebrew/bin", | |
'/usr/bin', | 15 | 15 | '/usr/bin', | |
'/bin', | 16 | 16 | '/bin', | |
'/usr/sbin', | 17 | 17 | '/usr/sbin', | |
'/sbin' | 18 | 18 | '/sbin' | |
], | 19 | 19 | ], | |
20 | 20 | |||
environment => [ | 21 | 21 | environment => [ | |
"HOMEBREW_CACHE=${homebrew::config::cachedir}", | 22 | 22 | "HOMEBREW_CACHE=${homebrew::config::cachedir}", | |
"HOME=/Users/${::boxen_user}" | 23 | 23 | "HOME=/Users/${::boxen_user}" | |
] | 24 | 24 | ] | |
} | 25 | 25 | } | |
26 | 26 | |||
File { | 27 | 27 | File { | |
group => 'staff', | 28 | 28 | group => 'staff', | |
owner => $boxen_user | 29 | 29 | owner => $boxen_user | |
} | 30 | 30 | } | |
31 | 31 | |||
Package { | 32 | 32 | Package { | |
provider => homebrew, | 33 | 33 | provider => homebrew, | |
require => Class['homebrew'] | 34 | 34 | require => Class['homebrew'] | |
} | 35 | 35 | } | |
36 | 36 | |||
Repository { | 37 | 37 | Repository { | |
provider => git, | 38 | 38 | provider => git, | |
extra => [ | 39 | 39 | extra => [ | |
'--recurse-submodules' | 40 | 40 | '--recurse-submodules' | |
], | 41 | 41 | ], | |
require => File["${boxen::config::bindir}/boxen-git-credential"], | 42 | 42 | require => File["${boxen::config::bindir}/boxen-git-credential"], | |
config => { | 43 | 43 | config => { | |
'credential.helper' => "${boxen::config::bindir}/boxen-git-credential" | 44 | 44 | 'credential.helper' => "${boxen::config::bindir}/boxen-git-credential" | |
} | 45 | 45 | } | |
} | 46 | 46 | } | |
47 | 47 | |||
Service { | 48 | 48 | Service { | |
provider => ghlaunchd | 49 | 49 | provider => ghlaunchd | |
} | 50 | 50 | } | |
51 | 51 | |||
Homebrew::Formula <| |> -> Package <| |> | 52 | 52 | Homebrew::Formula <| |> -> Package <| |> | |
53 | 53 | |||
node default { | 54 | 54 | node default { | |
# core modules, needed for most things | 55 | 55 | # core modules, needed for most things | |
include dnsmasq | 56 | 56 | include dnsmasq | |
include git | 57 | 57 | include git | |
include hub | 58 | 58 | include hub | |
include nginx | 59 | 59 | include nginx | |
60 | 60 | |||
# fail if FDE is not enabled | 61 | 61 | # fail if FDE is not enabled | |
if $::root_encrypted == 'no' { | 62 | 62 | if $::root_encrypted == 'no' { | |
fail('Please enable full disk encryption and try again') | 63 | 63 | fail('Please enable full disk encryption and try again') | |
} | 64 | 64 | } | |
65 | 65 | |||
# node versions | 66 | 66 | # node versions | |
include nodejs::v0_10 | 67 | 67 | include nodejs::v0_10 | |
include nodejs::global | 68 | 68 | include nodejs::global | |
69 | 69 | |||
# default ruby versions | 70 | 70 | # default ruby versions | |
ruby::version { '1.9.3': } | 71 | 71 | ruby::version { '1.9.3': } | |
ruby::version { '2.0.0': } | 72 | 72 | ruby::version { '2.0.0': } | |
ruby::version { '2.1.2': } | 73 | 73 | ruby::version { '2.1.2': } | |
include ruby::global | 74 | 74 | include ruby::global | |
75 | 75 | |||
# common, useful packages | 76 | 76 | # common, useful packages |