Commit 15d9e6c1da62b05ae4e9c6867062b720442a1fff
1 parent
498d0b3b15
Exists in
master
Update puppet-dotfiles to 0.1.0
Showing 3 changed files with 4 additions and 4 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 | |||
# Shortcut for a module from GitHub's boxen organization | 7 | 7 | # Shortcut for a module from GitHub's boxen organization | |
def github(name, *args) | 8 | 8 | def github(name, *args) | |
options ||= if args.last.is_a? Hash | 9 | 9 | options ||= if args.last.is_a? Hash | |
args.last | 10 | 10 | args.last | |
else | 11 | 11 | else | |
{} | 12 | 12 | {} | |
end | 13 | 13 | end | |
14 | 14 | |||
if path = options.delete(:path) | 15 | 15 | if path = options.delete(:path) | |
mod name, :path => path | 16 | 16 | mod name, :path => path | |
else | 17 | 17 | else | |
version = args.first | 18 | 18 | version = args.first | |
options[:repo] ||= "boxen/puppet-#{name}" | 19 | 19 | options[:repo] ||= "boxen/puppet-#{name}" | |
mod name, version, :github_tarball => options[:repo] | 20 | 20 | mod name, version, :github_tarball => options[:repo] | |
end | 21 | 21 | end | |
end | 22 | 22 | end | |
23 | 23 | |||
# Shortcut for a module under development | 24 | 24 | # Shortcut for a module under development | |
def dev(name, *args) | 25 | 25 | def dev(name, *args) | |
mod name, :path => "#{ENV['HOME']}/src/boxen/puppet-#{name}" | 26 | 26 | mod name, :path => "#{ENV['HOME']}/src/boxen/puppet-#{name}" | |
end | 27 | 27 | end | |
28 | 28 | |||
# Includes many of our custom types and providers, as well as global | 29 | 29 | # Includes many of our custom types and providers, as well as global | |
# config. Required. | 30 | 30 | # config. Required. | |
31 | 31 | |||
github "boxen", "3.6.3.rc", :repo => "hanjianwei/puppet-boxen" | 32 | 32 | github "boxen", "3.6.3.rc", :repo => "hanjianwei/puppet-boxen" | |
33 | 33 | |||
# Support for default hiera data in modules | 34 | 34 | # Support for default hiera data in modules | |
35 | 35 | |||
github "module-data", "0.0.3", :repo => "ripienaar/puppet-module-data" | 36 | 36 | github "module-data", "0.0.3", :repo => "ripienaar/puppet-module-data" | |
37 | 37 | |||
# Core modules for a basic development environment. You can replace | 38 | 38 | # Core modules for a basic development environment. You can replace | |
# some/most of these if you want, but it's not recommended. | 39 | 39 | # some/most of these if you want, but it's not recommended. | |
40 | 40 | |||
github "git", "2.5.0" | 41 | 41 | github "git", "2.5.0" | |
github "homebrew", "1.9.5.rc2", :repo => "hanjianwei/puppet-homebrew" | 42 | 42 | github "homebrew", "1.9.5.rc2", :repo => "hanjianwei/puppet-homebrew" | |
github "hub", "1.3.0" | 43 | 43 | github "hub", "1.3.0" | |
github "inifile", "1.1.3", :repo => "puppetlabs/puppetlabs-inifile" | 44 | 44 | github "inifile", "1.1.3", :repo => "puppetlabs/puppetlabs-inifile" | |
github "nodejs", "3.8.1" | 45 | 45 | github "nodejs", "3.8.1" | |
github "openssl", "1.0.0" | 46 | 46 | github "openssl", "1.0.0" | |
github "pkgconfig", "1.0.0" | 47 | 47 | github "pkgconfig", "1.0.0" | |
github "repository", "2.3.0" | 48 | 48 | github "repository", "2.3.0" | |
github "ruby", "8.1.2" | 49 | 49 | github "ruby", "8.1.2" | |
github "stdlib", "4.3.2", :repo => "puppetlabs/puppetlabs-stdlib" | 50 | 50 | github "stdlib", "4.3.2", :repo => "puppetlabs/puppetlabs-stdlib" |
Puppetfile.lock
GITHUBTARBALL | 1 | 1 | GITHUBTARBALL | |
remote: boxen/puppet-git | 2 | 2 | remote: boxen/puppet-git | |
specs: | 3 | 3 | specs: | |
git (2.5.0) | 4 | 4 | git (2.5.0) | |
5 | 5 | |||
GITHUBTARBALL | 6 | 6 | GITHUBTARBALL | |
remote: boxen/puppet-hub | 7 | 7 | remote: boxen/puppet-hub | |
specs: | 8 | 8 | specs: | |
hub (1.3.0) | 9 | 9 | hub (1.3.0) | |
10 | 10 | |||
GITHUBTARBALL | 11 | 11 | GITHUBTARBALL | |
remote: boxen/puppet-nodejs | 12 | 12 | remote: boxen/puppet-nodejs | |
specs: | 13 | 13 | specs: | |
nodejs (3.8.1) | 14 | 14 | nodejs (3.8.1) | |
15 | 15 | |||
GITHUBTARBALL | 16 | 16 | GITHUBTARBALL | |
remote: boxen/puppet-openssl | 17 | 17 | remote: boxen/puppet-openssl | |
specs: | 18 | 18 | specs: | |
openssl (1.0.0) | 19 | 19 | openssl (1.0.0) | |
20 | 20 | |||
GITHUBTARBALL | 21 | 21 | GITHUBTARBALL | |
remote: boxen/puppet-osx | 22 | 22 | remote: boxen/puppet-osx | |
specs: | 23 | 23 | specs: | |
osx (2.7.0) | 24 | 24 | osx (2.7.0) | |
25 | 25 | |||
GITHUBTARBALL | 26 | 26 | GITHUBTARBALL | |
remote: boxen/puppet-pkgconfig | 27 | 27 | remote: boxen/puppet-pkgconfig | |
specs: | 28 | 28 | specs: | |
pkgconfig (1.0.0) | 29 | 29 | pkgconfig (1.0.0) | |
30 | 30 | |||
GITHUBTARBALL | 31 | 31 | GITHUBTARBALL | |
remote: boxen/puppet-repository | 32 | 32 | remote: boxen/puppet-repository | |
specs: | 33 | 33 | specs: | |
repository (2.3.0) | 34 | 34 | repository (2.3.0) | |
35 | 35 | |||
GITHUBTARBALL | 36 | 36 | GITHUBTARBALL | |
remote: boxen/puppet-ruby | 37 | 37 | remote: boxen/puppet-ruby | |
specs: | 38 | 38 | specs: | |
ruby (8.1.2) | 39 | 39 | ruby (8.1.2) | |
40 | 40 | |||
GITHUBTARBALL | 41 | 41 | GITHUBTARBALL | |
remote: boxen/puppet-sudo | 42 | 42 | remote: boxen/puppet-sudo | |
specs: | 43 | 43 | specs: | |
sudo (1.0.0) | 44 | 44 | sudo (1.0.0) | |
45 | 45 | |||
GITHUBTARBALL | 46 | 46 | GITHUBTARBALL | |
remote: boxen/puppet-xquartz | 47 | 47 | remote: boxen/puppet-xquartz | |
specs: | 48 | 48 | specs: | |
xquartz (1.2.0) | 49 | 49 | xquartz (1.2.0) | |
50 | 50 | |||
GITHUBTARBALL | 51 | 51 | GITHUBTARBALL | |
remote: hanjianwei/puppet-boxen | 52 | 52 | remote: hanjianwei/puppet-boxen | |
specs: | 53 | 53 | specs: | |
boxen (3.6.3.rc) | 54 | 54 | boxen (3.6.3.rc) | |
55 | 55 | |||
GITHUBTARBALL | 56 | 56 | GITHUBTARBALL | |
remote: hanjianwei/puppet-brewcask | 57 | 57 | remote: hanjianwei/puppet-brewcask | |
specs: | 58 | 58 | specs: | |
brewcask (0.0.4.rc2) | 59 | 59 | brewcask (0.0.4.rc2) | |
60 | 60 | |||
GITHUBTARBALL | 61 | 61 | GITHUBTARBALL | |
remote: hanjianwei/puppet-dotfiles | 62 | 62 | remote: hanjianwei/puppet-dotfiles | |
specs: | 63 | 63 | specs: | |
dotfiles (0.0.9) | 64 | 64 | dotfiles (0.1.0) | |
65 | 65 | |||
GITHUBTARBALL | 66 | 66 | GITHUBTARBALL | |
remote: hanjianwei/puppet-homebrew | 67 | 67 | remote: hanjianwei/puppet-homebrew | |
specs: | 68 | 68 | specs: | |
homebrew (1.9.5.rc2) | 69 | 69 | homebrew (1.9.5.rc2) | |
70 | 70 | |||
GITHUBTARBALL | 71 | 71 | GITHUBTARBALL | |
remote: hanjianwei/puppet-python | 72 | 72 | remote: hanjianwei/puppet-python | |
specs: | 73 | 73 | specs: | |
python (0.0.2) | 74 | 74 | python (0.0.2) | |
75 | 75 | |||
GITHUBTARBALL | 76 | 76 | GITHUBTARBALL | |
remote: puppetlabs/puppetlabs-inifile | 77 | 77 | remote: puppetlabs/puppetlabs-inifile | |
specs: | 78 | 78 | specs: | |
inifile (1.1.3) | 79 | 79 | inifile (1.1.3) | |
80 | 80 | |||
GITHUBTARBALL | 81 | 81 | GITHUBTARBALL | |
remote: puppetlabs/puppetlabs-stdlib | 82 | 82 | remote: puppetlabs/puppetlabs-stdlib | |
specs: | 83 | 83 | specs: | |
stdlib (4.3.2) | 84 | 84 | stdlib (4.3.2) | |
85 | 85 | |||
GITHUBTARBALL | 86 | 86 | GITHUBTARBALL | |
remote: ripienaar/puppet-module-data | 87 | 87 | remote: ripienaar/puppet-module-data | |
specs: | 88 | 88 | specs: | |
module-data (0.0.3) | 89 | 89 | module-data (0.0.3) | |
90 | 90 | |||
DEPENDENCIES | 91 | 91 | DEPENDENCIES | |
boxen (= 3.6.3.rc) | 92 | 92 | boxen (= 3.6.3.rc) | |
brewcask (= 0.0.4.rc2) | 93 | 93 | brewcask (= 0.0.4.rc2) |
hiera/users/hanjianwei.yaml
ruby::global::version: "2.1.2" | 1 | 1 | ruby::global::version: "2.1.2" | |
nodejs::global::version: "v0.10" | 2 | 2 | nodejs::global::version: "v0.10" | |
python::global::version: "2.7.8" | 3 | 3 | python::global::version: "2.7.8" | |
boxen::config::homebrewdir: "/usr/local" | 4 | 4 | boxen::config::homebrewdir: "/usr/local" | |
dotfiles::configdir: "/Users/%{::boxen_user}/Dropbox/dotfiles" | 5 | 5 | dotfiles::prefix: "/Users/%{::boxen_user}/Dropbox/dotfiles" | |
6 | 6 |