From a44419884331c624e8bbf36655e06545579bd991 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 19 Jan 2011 15:39:09 -0800 Subject: [PATCH] Remove mongo from chef --- chef/cookbooks/centos/files/default/10gen.repo | 5 ----- chef/cookbooks/centos/recipes/main.rb | 1 - chef/cookbooks/centos/recipes/mongo_db.rb | 15 --------------- 3 files changed, 21 deletions(-) delete mode 100644 chef/cookbooks/centos/files/default/10gen.repo delete mode 100644 chef/cookbooks/centos/recipes/mongo_db.rb diff --git a/chef/cookbooks/centos/files/default/10gen.repo b/chef/cookbooks/centos/files/default/10gen.repo deleted file mode 100644 index 347aaa9a0..000000000 --- a/chef/cookbooks/centos/files/default/10gen.repo +++ /dev/null @@ -1,5 +0,0 @@ -[10gen] -name=10gen Repository -baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/ -gpgcheck=0 - diff --git a/chef/cookbooks/centos/recipes/main.rb b/chef/cookbooks/centos/recipes/main.rb index 6afcb43b2..f23ed9ac6 100644 --- a/chef/cookbooks/centos/recipes/main.rb +++ b/chef/cookbooks/centos/recipes/main.rb @@ -15,7 +15,6 @@ end harden_ruby("ree-1.8.7-2010.02") include_recipe "centos::image_magick" -include_recipe "centos::mongo_db" include_recipe "common::main" include_recipe "centos::nginx" include_recipe "centos::redis" diff --git a/chef/cookbooks/centos/recipes/mongo_db.rb b/chef/cookbooks/centos/recipes/mongo_db.rb deleted file mode 100644 index 25ab1a396..000000000 --- a/chef/cookbooks/centos/recipes/mongo_db.rb +++ /dev/null @@ -1,15 +0,0 @@ -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-server" -end - -execute "make the data directory" do - command "mkdir -p /data/db" -end