Commit 3cde3fa60fbeed3cc98aeafeb7f0e92d936e494b
Merge branch 'master' of https://github.com/boxen/our-boxen
Conflicts: Puppetfile
Showing 20 changed files Side-by-side Diff
- .gitignore
- Gemfile
- Gemfile.lock
- Puppetfile
- Puppetfile.lock
- manifests/site.pp
- script/bootstrap
- shared/README.md
- vendor/puppet/cache/boxen-puppet-boxen-0.0.1.1.tar.gz
- vendor/puppet/cache/boxen-puppet-boxen-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-git-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-homebrew-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-hub-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-inifile-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-nodejs-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-nvm-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-rbenv-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-ruby-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-sudo-0.0.1.tar.gz
- vendor/puppet/cache/boxen-puppet-xcode-0.0.1.tar.gz
.gitignore
Gemfile
Gemfile.lock
| 1 | -PATH | |
| 2 | - remote: /Users/wfarr/boxen/boxen | |
| 3 | - specs: | |
| 4 | - boxen (0.0.0) | |
| 5 | - ansi | |
| 6 | - highline | |
| 7 | - json_pure | |
| 8 | - octokit | |
| 9 | - puppet | |
| 10 | - | |
| 11 | 1 | GEM |
| 12 | 2 | remote: http://rubygems.org/ |
| 13 | 3 | specs: |
| 14 | 4 | addressable (2.3.2) |
| 15 | 5 | ansi (1.4.3) |
| 6 | + boxen (0.0.0) | |
| 7 | + ansi (~> 1.4) | |
| 8 | + highline (~> 1.6) | |
| 9 | + json_pure (~> 1.7) | |
| 10 | + octokit (~> 1.15) | |
| 11 | + puppet (~> 3.0) | |
| 16 | 12 | facter (1.6.12) |
| 17 | 13 | faraday (0.8.4) |
| 18 | 14 | multipart-post (~> 1.1) |
| ... | ... | @@ -45,6 +41,6 @@ |
| 45 | 41 | ruby |
| 46 | 42 | |
| 47 | 43 | DEPENDENCIES |
| 48 | - boxen (= 0.0.0)! | |
| 49 | - librarian-puppet (= 0.9.5) | |
| 44 | + boxen (~> 0.0) | |
| 45 | + librarian-puppet (~> 0.9) |
Puppetfile
| ... | ... | @@ -5,13 +5,13 @@ |
| 5 | 5 | |
| 6 | 6 | # Includes many of our custom types and providers, as well as global config. |
| 7 | 7 | # Required. |
| 8 | -mod "boxen", "0.0.1.1", :github_tarball => "boxen/puppet-boxen" | |
| 8 | +#mod "boxen", "0.0.1.1", :github_tarball => "boxen/puppet-boxen" | |
| 9 | 9 | |
| 10 | 10 | # Core modules for a basic development environment. |
| 11 | 11 | # You can replace some/most of those if you want, but it's not recommended. |
| 12 | -%w(ruby rbenv nvm nodejs git hub inifile sudo homebrew xcode).each do |modulename| | |
| 13 | - mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | |
| 14 | -end | |
| 12 | +#%w(ruby rbenv nvm nodejs git hub inifile sudo homebrew xcode).each do |modulename| | |
| 13 | +# mod modulename, "0.0.1", :github_tarball => "boxen/puppet-#{modulename}" | |
| 14 | +#end | |
| 15 | 15 | |
| 16 | 16 | # Add your custom modules here. |
| 17 | 17 | # There are tons available at https://github.com/boxen. |
Puppetfile.lock
| 1 | -GITHUBTARBALL | |
| 2 | - remote: boxen/puppet-boxen | |
| 3 | - specs: | |
| 4 | - boxen (0.0.1.1) | |
| 5 | - | |
| 6 | -GITHUBTARBALL | |
| 7 | - remote: boxen/puppet-git | |
| 8 | - specs: | |
| 9 | - git (0.0.1) | |
| 10 | - | |
| 11 | -GITHUBTARBALL | |
| 12 | - remote: boxen/puppet-homebrew | |
| 13 | - specs: | |
| 14 | - homebrew (0.0.1) | |
| 15 | - | |
| 16 | -GITHUBTARBALL | |
| 17 | - remote: boxen/puppet-hub | |
| 18 | - specs: | |
| 19 | - hub (0.0.1) | |
| 20 | - | |
| 21 | -GITHUBTARBALL | |
| 22 | - remote: boxen/puppet-inifile | |
| 23 | - specs: | |
| 24 | - inifile (0.0.1) | |
| 25 | - | |
| 26 | -GITHUBTARBALL | |
| 27 | - remote: boxen/puppet-nodejs | |
| 28 | - specs: | |
| 29 | - nodejs (0.0.1) | |
| 30 | - | |
| 31 | -GITHUBTARBALL | |
| 32 | - remote: boxen/puppet-nvm | |
| 33 | - specs: | |
| 34 | - nvm (0.0.1) | |
| 35 | - | |
| 36 | -GITHUBTARBALL | |
| 37 | - remote: boxen/puppet-rbenv | |
| 38 | - specs: | |
| 39 | - rbenv (0.0.1) | |
| 40 | - | |
| 41 | -GITHUBTARBALL | |
| 42 | - remote: boxen/puppet-ruby | |
| 43 | - specs: | |
| 44 | - ruby (0.0.1) | |
| 45 | - | |
| 46 | -GITHUBTARBALL | |
| 47 | - remote: boxen/puppet-sudo | |
| 48 | - specs: | |
| 49 | - sudo (0.0.1) | |
| 50 | - | |
| 51 | -GITHUBTARBALL | |
| 52 | - remote: boxen/puppet-xcode | |
| 53 | - specs: | |
| 54 | - xcode (0.0.1) | |
| 55 | - | |
| 56 | 1 | DEPENDENCIES |
| 57 | - boxen (= 0.0.1.1) | |
| 58 | - git (= 0.0.1) | |
| 59 | - homebrew (= 0.0.1) | |
| 60 | - hub (= 0.0.1) | |
| 61 | - inifile (= 0.0.1) | |
| 62 | - nodejs (= 0.0.1) | |
| 63 | - nvm (= 0.0.1) | |
| 64 | - rbenv (= 0.0.1) | |
| 65 | - ruby (= 0.0.1) | |
| 66 | - sudo (= 0.0.1) | |
| 67 | - xcode (= 0.0.1) |
manifests/site.pp
| 1 | -require boxen::environment | |
| 2 | -require homebrew::repo | |
| 1 | +# require boxen::environment | |
| 2 | +# require homebrew::repo | |
| 3 | 3 | |
| 4 | -Exec { | |
| 5 | - group => 'staff', | |
| 6 | - logoutput => on_failure, | |
| 7 | - user => $luser, | |
| 4 | +# Exec { | |
| 5 | +# group => 'staff', | |
| 6 | +# logoutput => on_failure, | |
| 7 | +# user => $luser, | |
| 8 | 8 | |
| 9 | - path => [ | |
| 10 | - "${boxen::config::home}/rbenv/shims", | |
| 11 | - "${boxen::config::home}/homebrew/bin", | |
| 12 | - '/usr/bin', | |
| 13 | - '/bin', | |
| 14 | - '/usr/sbin', | |
| 15 | - '/sbin' | |
| 16 | - ] | |
| 17 | -} | |
| 9 | +# path => [ | |
| 10 | +# "${boxen::config::home}/rbenv/shims", | |
| 11 | +# "${boxen::config::home}/homebrew/bin", | |
| 12 | +# '/usr/bin', | |
| 13 | +# '/bin', | |
| 14 | +# '/usr/sbin', | |
| 15 | +# '/sbin' | |
| 16 | +# ] | |
| 17 | +# } | |
| 18 | 18 | |
| 19 | -File { | |
| 20 | - group => 'staff', | |
| 21 | - owner => $luser | |
| 22 | -} | |
| 19 | +# File { | |
| 20 | +# group => 'staff', | |
| 21 | +# owner => $luser | |
| 22 | +# } | |
| 23 | 23 | |
| 24 | -Package { | |
| 25 | - provider => homebrew, | |
| 26 | - require => Class['homebrew'] | |
| 27 | -} | |
| 24 | +# Package { | |
| 25 | +# provider => homebrew, | |
| 26 | +# require => Class['homebrew'] | |
| 27 | +# } | |
| 28 | 28 | |
| 29 | -Repository { | |
| 30 | - provider => git, | |
| 31 | - extra => [ | |
| 32 | - '--recurse-submodules' | |
| 33 | - ], | |
| 34 | - require => Class['git'] | |
| 35 | -} | |
| 29 | +# Repository { | |
| 30 | +# provider => git, | |
| 31 | +# extra => [ | |
| 32 | +# '--recurse-submodules' | |
| 33 | +# ], | |
| 34 | +# require => Class['git'] | |
| 35 | +# } | |
| 36 | 36 | |
| 37 | -Service { | |
| 38 | - provider => ghlaunchd | |
| 39 | -} | |
| 37 | +# Service { | |
| 38 | +# provider => ghlaunchd | |
| 39 | +# } | |
| 40 | 40 | |
| 41 | -node default { | |
| 42 | - include git | |
| 43 | -} | |
| 41 | +# node default { | |
| 42 | +# include git | |
| 43 | +# } |
script/bootstrap
| 1 | 1 | #!/bin/sh |
| 2 | 2 | # Make sure all our local dependencies are available. |
| 3 | 3 | |
| 4 | +set -e | |
| 5 | + | |
| 4 | 6 | # FIX: only sudo if gem home isn't writable |
| 5 | 7 | |
| 6 | 8 | (gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) || |
| ... | ... | @@ -9,6 +11,7 @@ |
| 9 | 11 | # We don't want old config hanging around. |
| 10 | 12 | |
| 11 | 13 | rm -rf .bundle/config |
| 14 | +rm -rf .librarian/puppet/config | |
| 12 | 15 | |
| 13 | 16 | # Export CC to explicitly set the compiler used for cexts. |
| 14 | 17 | |
| ... | ... | @@ -17,4 +20,8 @@ |
| 17 | 20 | # Bundle install unless we're already up to date. |
| 18 | 21 | |
| 19 | 22 | bundle install --binstubs bin --path .bundle --quiet "$@" |
| 23 | + | |
| 24 | +# Install all our Puppet dependencies. | |
| 25 | + | |
| 26 | +bin/librarian-puppet install --path=shared |
shared/README.md
vendor/puppet/cache/boxen-puppet-boxen-0.0.1.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-boxen-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-git-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-homebrew-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-hub-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-inifile-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-nodejs-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-nvm-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-rbenv-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-ruby-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-sudo-0.0.1.tar.gz
No preview for this file type
vendor/puppet/cache/boxen-puppet-xcode-0.0.1.tar.gz
No preview for this file type