Merge branch 'master' of github.com:diaspora/diaspora
This commit is contained in:
commit
2eba8fbba7
10 changed files with 27 additions and 5 deletions
|
|
@ -1 +0,0 @@
|
|||
{"recipes": ["bootstrap::default" ] }
|
||||
1
chef/cookbooks/centos/bootstrap.json
Normal file
1
chef/cookbooks/centos/bootstrap.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"recipes": ["centos::bootstrap" ] }
|
||||
5
chef/cookbooks/centos/files/default/10gen.repo
Normal file
5
chef/cookbooks/centos/files/default/10gen.repo
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[10gen]
|
||||
name=10gen Repository
|
||||
baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/
|
||||
gpgcheck=0
|
||||
|
||||
1
chef/cookbooks/centos/main.json
Normal file
1
chef/cookbooks/centos/main.json
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"recipes": ["centos::main" ] }
|
||||
3
chef/cookbooks/centos/recipes/image_magick.rb
Normal file
3
chef/cookbooks/centos/recipes/image_magick.rb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
execute "install ImageMagick" do
|
||||
command "yum install -y ImageMagick"
|
||||
end
|
||||
6
chef/cookbooks/centos/recipes/main.rb
Normal file
6
chef/cookbooks/centos/recipes/main.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
execute "say hello" do
|
||||
command "echo welcome to diaspora chef"
|
||||
end
|
||||
|
||||
include_recipe "centos::image_magick"
|
||||
include_recipe "centos::mongo_db"
|
||||
11
chef/cookbooks/centos/recipes/mongo_db.rb
Normal file
11
chef/cookbooks/centos/recipes/mongo_db.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
cookbook_file "/etc/yum.repos.d/10gen.repo" do
|
||||
source "10gen.repo"
|
||||
end
|
||||
|
||||
execute "refresh yum" do
|
||||
command "yum update -y"
|
||||
end
|
||||
|
||||
execute "install mongo" do
|
||||
command "yum install -y mongo-stable"
|
||||
end
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"recipes": ["main::default" ] }
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
execute "say hello" do
|
||||
command "echo welcome to diaspora chef"
|
||||
end
|
||||
Loading…
Reference in a new issue