Unify into one centos cookbook (people will want other OSes) and get mongo and ImageMagick installed

This commit is contained in:
root 2010-10-24 23:20:46 +00:00
parent 7b3f6f66c1
commit 30955d0100
10 changed files with 27 additions and 5 deletions

View file

@ -1 +0,0 @@
{"recipes": ["bootstrap::default" ] }

View file

@ -0,0 +1 @@
{"recipes": ["centos::bootstrap" ] }

View file

@ -0,0 +1,5 @@
[10gen]
name=10gen Repository
baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/
gpgcheck=0

View file

@ -0,0 +1 @@
{"recipes": ["centos::main" ] }

View file

@ -0,0 +1,3 @@
execute "install ImageMagick" do
command "yum install -y ImageMagick"
end

View 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"

View 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

View file

@ -1 +0,0 @@
{"recipes": ["main::default" ] }

View file

@ -1,3 +0,0 @@
execute "say hello" do
command "echo welcome to diaspora chef"
end