Commit 584076ffc88ff6a4f17f234d8b6fc475d41a2e05
1 parent
77d8c3d6fa
bump puppet-boxen to got boxen::repo to handle the repo clone
Showing 5 changed files with 3 additions and 9 deletions Inline Diff
Puppetfile
# This file manages Puppet module dependencies. | 1 | 1 | # This file manages Puppet module dependencies. | |
# | 2 | 2 | # | |
# It works a lot like Bundler. We provide some core modules by | 3 | 3 | # It works a lot like Bundler. We provide some core modules by | |
# default. This ensures at least the ability to construct a basic | 4 | 4 | # default. This ensures at least the ability to construct a basic | |
# environment. | 5 | 5 | # environment. | |
6 | 6 | |||
# Includes many of our custom types and providers, as well as global | 7 | 7 | # Includes many of our custom types and providers, as well as global | |
# config. Required. | 8 | 8 | # config. Required. | |
9 | 9 | |||
mod "boxen", "0.0.15", :github_tarball => "boxen/puppet-boxen" | 10 | 10 | mod "boxen", "0.0.16", :github_tarball => "boxen/puppet-boxen" | |
mod "dnsmasq", "0.0.1", :github_tarball => "boxen/puppet-dnsmasq" | 11 | 11 | mod "dnsmasq", "0.0.1", :github_tarball => "boxen/puppet-dnsmasq" | |
mod "git", "0.0.2.4", :github_tarball => "boxen/puppet-git" | 12 | 12 | mod "git", "0.0.2.4", :github_tarball => "boxen/puppet-git" | |
mod "homebrew", "0.0.4", :github_tarball => "boxen/puppet-homebrew" | 13 | 13 | mod "homebrew", "0.0.4", :github_tarball => "boxen/puppet-homebrew" | |
mod "nginx", "0.0.2", :github_tarball => "boxen/puppet-nginx" | 14 | 14 | mod "nginx", "0.0.2", :github_tarball => "boxen/puppet-nginx" | |
mod "nvm", "0.0.5", :github_tarball => "boxen/puppet-nvm" | 15 | 15 | mod "nvm", "0.0.5", :github_tarball => "boxen/puppet-nvm" | |
mod "rbenv", "0.0.2", :github_tarball => "boxen/puppet-rbenv" | 16 | 16 | mod "rbenv", "0.0.2", :github_tarball => "boxen/puppet-rbenv" | |
mod "ruby", "0.0.8", :github_tarball => "boxen/puppet-ruby" | 17 | 17 | mod "ruby", "0.0.8", :github_tarball => "boxen/puppet-ruby" | |
18 | 18 | |||
# Core modules for a basic development environment. | 19 | 19 | # Core modules for a basic development environment. | |
# You can replace some/most of those if you want, but it's not recommended. | 20 | 20 | # You can replace some/most of those if you want, but it's not recommended. | |
%w(nodejs hub inifile sudo).each do |modulename| | 21 | 21 | %w(nodejs hub inifile sudo).each do |modulename| | |
mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | 22 | 22 | mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | |
end | 23 | 23 | end |
Puppetfile.lock
GITHUBTARBALL | 1 | 1 | GITHUBTARBALL | |
remote: boxen/puppet-boxen | 2 | 2 | remote: boxen/puppet-boxen | |
specs: | 3 | 3 | specs: | |
boxen (0.0.15) | 4 | 4 | boxen (0.0.16) | |
5 | 5 | |||
GITHUBTARBALL | 6 | 6 | GITHUBTARBALL | |
remote: boxen/puppet-dnsmasq | 7 | 7 | remote: boxen/puppet-dnsmasq | |
specs: | 8 | 8 | specs: | |
dnsmasq (0.0.1) | 9 | 9 | dnsmasq (0.0.1) | |
10 | 10 | |||
GITHUBTARBALL | 11 | 11 | GITHUBTARBALL | |
remote: boxen/puppet-git | 12 | 12 | remote: boxen/puppet-git | |
specs: | 13 | 13 | specs: | |
git (0.0.2.4) | 14 | 14 | git (0.0.2.4) | |
15 | 15 | |||
GITHUBTARBALL | 16 | 16 | GITHUBTARBALL | |
remote: boxen/puppet-homebrew | 17 | 17 | remote: boxen/puppet-homebrew | |
specs: | 18 | 18 | specs: | |
homebrew (0.0.4) | 19 | 19 | homebrew (0.0.4) | |
20 | 20 | |||
GITHUBTARBALL | 21 | 21 | GITHUBTARBALL | |
remote: boxen/puppet-hub | 22 | 22 | remote: boxen/puppet-hub | |
specs: | 23 | 23 | specs: | |
hub (0.0.1) | 24 | 24 | hub (0.0.1) | |
25 | 25 | |||
GITHUBTARBALL | 26 | 26 | GITHUBTARBALL | |
remote: boxen/puppet-inifile | 27 | 27 | remote: boxen/puppet-inifile | |
specs: | 28 | 28 | specs: | |
inifile (0.0.1) | 29 | 29 | inifile (0.0.1) | |
30 | 30 | |||
GITHUBTARBALL | 31 | 31 | GITHUBTARBALL | |
remote: boxen/puppet-nginx | 32 | 32 | remote: boxen/puppet-nginx | |
specs: | 33 | 33 | specs: | |
nginx (0.0.2) | 34 | 34 | nginx (0.0.2) | |
35 | 35 | |||
GITHUBTARBALL | 36 | 36 | GITHUBTARBALL | |
remote: boxen/puppet-nodejs | 37 | 37 | remote: boxen/puppet-nodejs | |
specs: | 38 | 38 | specs: | |
nodejs (0.0.1) | 39 | 39 | nodejs (0.0.1) | |
40 | 40 | |||
GITHUBTARBALL | 41 | 41 | GITHUBTARBALL | |
remote: boxen/puppet-nvm | 42 | 42 | remote: boxen/puppet-nvm | |
specs: | 43 | 43 | specs: | |
nvm (0.0.5) | 44 | 44 | nvm (0.0.5) | |
45 | 45 | |||
GITHUBTARBALL | 46 | 46 | GITHUBTARBALL | |
remote: boxen/puppet-rbenv | 47 | 47 | remote: boxen/puppet-rbenv | |
specs: | 48 | 48 | specs: | |
rbenv (0.0.2) | 49 | 49 | rbenv (0.0.2) | |
50 | 50 | |||
GITHUBTARBALL | 51 | 51 | GITHUBTARBALL | |
remote: boxen/puppet-ruby | 52 | 52 | remote: boxen/puppet-ruby | |
specs: | 53 | 53 | specs: | |
ruby (0.0.8) | 54 | 54 | ruby (0.0.8) | |
55 | 55 | |||
GITHUBTARBALL | 56 | 56 | GITHUBTARBALL | |
remote: boxen/puppet-sudo | 57 | 57 | remote: boxen/puppet-sudo | |
specs: | 58 | 58 | specs: | |
sudo (0.0.1) | 59 | 59 | sudo (0.0.1) | |
60 | 60 | |||
DEPENDENCIES | 61 | 61 | DEPENDENCIES | |
boxen (= 0.0.15) | 62 | 62 | boxen (= 0.0.16) | |
dnsmasq (= 0.0.1) | 63 | 63 | dnsmasq (= 0.0.1) |
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 | |||
# fail if FDE is not enabled | 50 | 50 | # fail if FDE is not enabled | |
if $::root_encrypted == false { | 51 | 51 | if $::root_encrypted == false { | |
fail('Please enable full disk encryption and try again') | 52 | 52 | fail('Please enable full disk encryption and try again') | |
} | 53 | 53 | } | |
54 | 54 | |||
# Setup real clone of our-boxen and link into BOXEN_HOME | 55 | |||
repository { "${::boxen_home}/repo": | 56 | |||
ensure => present, | 57 | |||
source => 'boxen/our-boxen' | 58 | |||
} | 59 | |||
60 | ||||
# node versions | 61 | 55 | # node versions | |
include nodejs::0-4 | 62 | 56 | include nodejs::0-4 | |
include nodejs::0-6 | 63 | 57 | include nodejs::0-6 | |
include nodejs::0-8 | 64 | 58 | include nodejs::0-8 | |
65 | 59 | |||
# default ruby versions | 66 | 60 | # default ruby versions | |
include ruby::1-8-7 | 67 | 61 | include ruby::1-8-7 |
vendor/puppet/cache/boxen-puppet-boxen-0.0.15.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-boxen-0.0.16.tar.gz
No preview for this file type