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.
|
|
|
|
|
2014-03-25 11:13:33 -04:00
|
|
|
github "boxen", "3.4.2"
|
2013-02-05 18:20:23 -05:00
|
|
|
|
2014-03-31 19:03:22 -04:00
|
|
|
# Support for default hiera data in modules
|
|
|
|
|
2014-03-31 19:37:48 -04:00
|
|
|
github "module-data", "0.0.3", :repo => "ripienaar/puppet-module-data"
|
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-02-20 10:05:22 -05:00
|
|
|
github "dnsmasq", "1.0.1"
|
2014-03-25 11:13:33 -04:00
|
|
|
github "foreman", "1.2.0"
|
|
|
|
github "gcc", "2.0.100"
|
2014-05-12 20:02:05 -04:00
|
|
|
github "git", "2.3.1"
|
2014-03-25 11:20:08 -04:00
|
|
|
github "go", "1.1.0"
|
2014-05-12 20:02:05 -04:00
|
|
|
github "homebrew", "1.9.2"
|
2014-02-20 10:05:22 -05:00
|
|
|
github "hub", "1.3.0"
|
2014-03-25 11:13:33 -04:00
|
|
|
github "inifile", "1.0.3", :repo => "puppetlabs/puppetlabs-inifile"
|
2014-02-20 10:05:22 -05:00
|
|
|
github "nginx", "1.4.3"
|
2014-04-01 09:09:03 -04:00
|
|
|
github "nodejs", "3.7.0"
|
2014-02-20 10:05:22 -05:00
|
|
|
github "openssl", "1.0.0"
|
2014-04-11 17:32:19 -04:00
|
|
|
github "phantomjs", "2.3.0"
|
2014-02-20 10:05:22 -05:00
|
|
|
github "pkgconfig", "1.0.0"
|
|
|
|
github "repository", "2.3.0"
|
2014-04-11 17:32:19 -04:00
|
|
|
github "ruby", "7.3.0"
|
2014-02-20 10:05:22 -05:00
|
|
|
github "stdlib", "4.1.0", :repo => "puppetlabs/puppetlabs-stdlib"
|
|
|
|
github "sudo", "1.0.0"
|
|
|
|
github "xquartz", "1.1.1"
|
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.
|
2014-05-14 01:51:28 -04:00
|
|
|
github "adium", "1.3.0"
|
|
|
|
github "alfred", "1.1.8"
|
2013-11-14 09:23:49 -05:00
|
|
|
github "caffeine", "1.0.0"
|
|
|
|
github "chrome", "1.1.2"
|
2013-12-10 00:38:02 -05:00
|
|
|
github "dropbox", "1.2.0"
|
2014-05-14 01:51:28 -04:00
|
|
|
github "firefox", "1.2.0"
|
2014-04-11 23:03:45 -04:00
|
|
|
github "flux", "1.0.1"
|
2013-12-26 15:45:52 -05:00
|
|
|
github "heroku", "2.0.0"
|
2013-11-14 09:23:49 -05:00
|
|
|
github "iterm2", "1.0.4"
|
2013-09-07 01:21:54 -04:00
|
|
|
github "python", "1.1.1"
|
2014-05-14 01:51:28 -04:00
|
|
|
github "qt", "1.3.0"
|
|
|
|
github "skype", "1.0.8"
|
2013-12-26 14:43:35 -05:00
|
|
|
github "sublime_text_2", "1.1.2"
|
2013-11-14 09:23:49 -05:00
|
|
|
github "tmux", "1.0.2"
|
2014-05-14 01:51:28 -04:00
|
|
|
github "osx", "2.5.0"
|
|
|
|
github "vagrant", "3.0.6"
|
|
|
|
github "virtualbox", "1.0.11"
|
|
|
|
github "vlc", "1.1.0"
|
2013-11-14 09:23:49 -05:00
|
|
|
github "wget", "1.0.0"
|
|
|
|
github "zsh", "1.0.0"
|