Blame view

Puppetfile 1.87 KB
3a47d364c   Jianwei Han   Remove caches for...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  # This file manages Puppet module dependencies.
  #
  # It works a lot like Bundler. We provide some core modules by
  # default. This ensures at least the ability to construct a basic
  # environment.
  
  # 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}"
  end
  
  # Includes many of our custom types and providers, as well as global
  # config. Required.
a2d6ec482   Jianwei Han   Fix problems for ...
31
  github "boxen", "3.6.3.rc", :repo => "hanjianwei/puppet-boxen"
3a47d364c   Jianwei Han   Remove caches for...
32
33
34
35
36
37
38
  
  # Support for default hiera data in modules
  
  github "module-data", "0.0.3", :repo => "ripienaar/puppet-module-data"
  
  # Core modules for a basic development environment. You can replace
  # some/most of these if you want, but it's not recommended.
ebe5a55a9   Jianwei Han   Update dependencies
39
  github "git",         "2.5.0"
557d79577   Jianwei Han   Ensure packages a...
40
  github "homebrew",    "1.9.5.rc2",  :repo => "hanjianwei/puppet-homebrew"
3a47d364c   Jianwei Han   Remove caches for...
41
  github "hub",         "1.3.0"
ebe5a55a9   Jianwei Han   Update dependencies
42
43
  github "inifile",     "1.1.3",      :repo => "puppetlabs/puppetlabs-inifile"
  github "nodejs",      "3.8.1"
3a47d364c   Jianwei Han   Remove caches for...
44
45
46
  github "openssl",     "1.0.0"
  github "pkgconfig",   "1.0.0"
  github "repository",  "2.3.0"
ebe5a55a9   Jianwei Han   Update dependencies
47
48
  github "ruby",        "8.1.2"
  github "stdlib",      "4.3.2",      :repo => "puppetlabs/puppetlabs-stdlib"
3a47d364c   Jianwei Han   Remove caches for...
49
  github "sudo",        "1.0.0"
ebe5a55a9   Jianwei Han   Update dependencies
50
  github "xquartz",     "1.2.0"
3a47d364c   Jianwei Han   Remove caches for...
51
52
53
  
  # Optional/custom modules. There are tons available at
  # https://github.com/boxen.
2522d1b51   Jianwei Han   Install pythons
54
55
56
57
  github "osx",         "2.7.0"
  github "brewcask",    "0.0.4.rc2",  :repo => "hanjianwei/puppet-brewcask"
  github "dotfiles",    "0.0.9",      :repo => "hanjianwei/puppet-dotfiles"
  github "python",      "0.0.2",      :repo => "hanjianwei/puppet-python"