-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCheffile
More file actions
45 lines (36 loc) · 1.46 KB
/
Cheffile
File metadata and controls
45 lines (36 loc) · 1.46 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- mode: ruby -*-
# vi: set ft=ruby :
site "http://community.opscode.com/api/v1"
cookbook "apt"
cookbook "git"
cookbook "build-essential"
cookbook "vim", "1.0.2"
cookbook "curl", github: "phlipper/chef-curl"
cookbook "chef-solo-search"
cookbook "users"
cookbook "sudo"
cookbook "ssh", github: "markolson/chef-ssh"
cookbook "php"
cookbook 'rvm', :git => 'git://github.com/fnichol/chef-rvm.git'
# see https://tickets.opscode.com/browse/COOK-3900; cookbook copied to site-cookbooks - change made
# in recipes/mod_mpm_event (mpm_event requires explicit disabling of mpm_prefork)
#cookbook "apache2", :git => 'git://github.com/citizenme/chef-repo.git', :path => 'cookbooks/apache2'
cookbook "memcached"
cookbook "application"
cookbook "application_php", github: "undergroundwebdesigns/application_php"
cookbook "application_ruby"
cookbook "database"
cookbook "neo4j-multi-server", github: "sovolve/cookbook-neo4j-multi-server", ref: "7b67357043ad7962b06883e215f8a275efe72c5d"
cookbook "homesick"
cookbook "nginx"
# Technically, we don't need this. But there's some weirdness in librarian-chef that blows up without this line. Arg.
cookbook "windows", "1.11.0"
# This little bit of magick includes the cookbooks in the site-cookbooks directory too:
def dependencies(path)
cheffile = "#{path}/Cheffile"
instance_eval(File.read(cheffile)) if File.exists?(cheffile)
end
Dir.glob("site-cookbooks/*").each do |path|
dependencies path
cookbook File.basename(path), :path => path
end