2013-02-12 19:41:56 -05:00
|
|
|
# This file manages Puppet module dependencies.
|
|
|
|
#
|
2012-10-03 16:47:13 -04:00
|
|
|
# It works a lot like Bundler. We provide some core modules by
|
|
|
|
# default. This ensures at least the ability to construct a basic
|
|
|
|
# environment.
|
2012-10-03 14:28:53 -04:00
|
|
|
|
2013-10-22 18:55:18 -04:00
|
|
|
# Shortcut for a module from GitHub's boxen organization
|
|
|
|
def github(name, *args)
|
|
|
|
options ||= if args.last.is_a? Hash
|
|
|
|
args.last
|
|
|
|
else
|
|
|
|
{}
|
|
|
|
end
|
|
|
|
|
|
|
|
if path = options.delete(:path)
|
|
|
|
mod name, :path => path
|
|
|
|
else
|
|
|
|
version = args.first
|
|
|
|
options[:repo] ||= "boxen/puppet-#{name}"
|
|
|
|
mod name, version, :github_tarball => options[:repo]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
# Shortcut for a module under development
|
|
|
|
def dev(name, *args)
|
|
|
|
mod name, :path => "#{ENV['HOME']}/src/boxen/puppet-#{name}"
|
2013-02-05 18:20:23 -05:00
|
|
|
end
|
|
|
|
|
2012-10-03 16:47:13 -04:00
|
|
|
# Includes many of our custom types and providers, as well as global
|
|
|
|
# config. Required.
|
|
|
|
|
2013-11-03 16:34:32 -05:00
|
|
|
github "boxen", "3.3.4"
|
2013-02-05 18:20:23 -05:00
|
|
|
|
|
|
|
# Core modules for a basic development environment. You can replace
|
|
|
|
# some/most of these if you want, but it's not recommended.
|
2012-10-07 19:44:55 -04:00
|
|
|
|
2014-01-13 18:26:36 -05:00
|
|
|
github "dnsmasq", "1.0.1"
|
2013-10-22 18:55:18 -04:00
|
|
|
github "foreman", "1.0.0"
|
2013-07-12 04:14:28 -04:00
|
|
|
github "gcc", "2.0.1"
|
2013-07-18 16:29:17 -04:00
|
|
|
github "git", "1.2.5"
|
2013-10-22 18:55:18 -04:00
|
|
|
github "go", "1.0.0"
|
2013-11-03 16:34:32 -05:00
|
|
|
github "homebrew", "1.5.1"
|
2013-07-22 17:41:53 -04:00
|
|
|
github "hub", "1.0.3"
|
2013-07-18 13:02:14 -04:00
|
|
|
github "inifile", "1.0.0", :repo => "puppetlabs/puppetlabs-inifile"
|
2013-07-12 04:14:28 -04:00
|
|
|
github "nginx", "1.4.2"
|
2013-10-22 18:55:18 -04:00
|
|
|
github "nodejs", "3.3.0"
|
2013-07-15 05:16:09 -04:00
|
|
|
github "openssl", "1.0.0"
|
2013-10-22 18:55:18 -04:00
|
|
|
github "phantomjs", "2.0.2"
|
|
|
|
github "pkgconfig", "1.0.0"
|
2013-07-12 04:14:28 -04:00
|
|
|
github "repository", "2.2.0"
|
2013-11-03 16:34:32 -05:00
|
|
|
github "ruby", "6.7.2"
|
2013-07-13 18:12:39 -04:00
|
|
|
github "stdlib", "4.1.0", :repo => "puppetlabs/puppetlabs-stdlib"
|
2013-05-01 17:08:16 -04:00
|
|
|
github "sudo", "1.0.0"
|
2013-07-13 18:13:49 -04:00
|
|
|
github "xquartz", "1.1.0"
|
2012-10-02 23:21:31 -04:00
|
|
|
|
2013-02-05 18:20:23 -05:00
|
|
|
# Optional/custom modules. There are tons available at
|
|
|
|
# https://github.com/boxen.
|