Commit 2522d1b51af09fb2c203fd2d581643f2c54fff5c
1 parent
d470c4a631
Exists in
master
Install pythons
Showing 4 changed files with 18 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" | |
github "sudo", "1.0.0" | 51 | 51 | github "sudo", "1.0.0" | |
github "xquartz", "1.2.0" | 52 | 52 | github "xquartz", "1.2.0" |
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 |