Commit 856590cf8f5aebb6207a3c96ab5834bc0990c1a2
1 parent
e3046bad01
Exists in
master
Update packages
Showing 3 changed files with 5 additions and 5 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.1" | 32 | 32 | github "boxen", "3.6.1" | |
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 "dnsmasq", "1.0.1" | 41 | 41 | github "dnsmasq", "1.0.1" | |
github "gcc", "2.0.101" | 42 | 42 | github "gcc", "2.0.101" | |
github "git", "2.4.0" | 43 | 43 | github "git", "2.4.0" | |
github "homebrew", "1.9.4" | 44 | 44 | github "homebrew", "1.9.4" | |
github "hub", "1.3.0" | 45 | 45 | github "hub", "1.3.0" | |
github "inifile", "1.0.3", :repo => "puppetlabs/puppetlabs-inifile" | 46 | 46 | github "inifile", "1.0.3", :repo => "puppetlabs/puppetlabs-inifile" | |
github "nginx", "1.4.3" | 47 | 47 | github "nginx", "1.4.3" | |
github "nodejs", "3.7.0" | 48 | 48 | github "nodejs", "3.7.0" | |
github "openssl", "1.0.0" | 49 | 49 | github "openssl", "1.0.0" | |
github "pkgconfig", "1.0.0" | 50 | 50 | github "pkgconfig", "1.0.0" | |
github "repository", "2.3.0" | 51 | 51 | github "repository", "2.3.0" | |
github "ruby", "8.0.4" | 52 | 52 | github "ruby", "8.0.4" | |
github "stdlib", "4.2.1", :repo => "puppetlabs/puppetlabs-stdlib" | 53 | 53 | github "stdlib", "4.2.1", :repo => "puppetlabs/puppetlabs-stdlib" |
Puppetfile.lock
GITHUBTARBALL | 1 | 1 | GITHUBTARBALL | |
remote: boxen/puppet-boxen | 2 | 2 | remote: boxen/puppet-boxen | |
specs: | 3 | 3 | specs: | |
boxen (3.6.1) | 4 | 4 | boxen (3.6.1) | |
5 | 5 | |||
GITHUBTARBALL | 6 | 6 | GITHUBTARBALL | |
remote: boxen/puppet-dnsmasq | 7 | 7 | remote: boxen/puppet-dnsmasq | |
specs: | 8 | 8 | specs: | |
dnsmasq (1.0.1) | 9 | 9 | dnsmasq (1.0.1) | |
10 | 10 | |||
GITHUBTARBALL | 11 | 11 | GITHUBTARBALL | |
remote: boxen/puppet-gcc | 12 | 12 | remote: boxen/puppet-gcc | |
specs: | 13 | 13 | specs: | |
gcc (2.0.101) | 14 | 14 | gcc (2.0.101) | |
15 |