diff options
author | Raphael <raphael@joindiaspora.com> | 2011-01-20 02:39:09 +0300 |
---|---|---|
committer | Raphael <raphael@joindiaspora.com> | 2011-01-20 02:39:09 +0300 |
commit | a44419884331c624e8bbf36655e06545579bd991 (patch) | |
tree | 6278851327397b4cadfc7af769422751e96dd03c /chef | |
parent | 9c1184bd29f3a783d41ff679783c4c4a3352e276 (diff) |
Remove mongo from chef
Diffstat (limited to 'chef')
-rw-r--r-- | chef/cookbooks/centos/files/default/10gen.repo | 5 | ||||
-rw-r--r-- | chef/cookbooks/centos/recipes/main.rb | 1 | ||||
-rw-r--r-- | chef/cookbooks/centos/recipes/mongo_db.rb | 15 |
3 files changed, 0 insertions, 21 deletions
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 |