Skip to content

Commit

Permalink
adding patches from edelight#394
Browse files Browse the repository at this point in the history
  • Loading branch information
CpuID committed Jun 27, 2015
1 parent dc58363 commit 9ee6a6c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions recipes/mongodb_org_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@
action :add
end

apt_repository 'mongodb' do
uri "http://repo.mongodb.org/apt/ubuntu"
distribution 'trusty/mongodb-org/stable'
components ['multiverse']
keyserver 'hkp://keyserver.ubuntu.com:80'
key '7F0CEB10'
action :add
end

when 'rhel', 'fedora'
yum_repository 'mongodb' do
description 'mongodb RPM Repository'
Expand All @@ -43,6 +52,14 @@
gpgcheck false
enabled true
end

yum_repository 'mongodb-org-3.0' do
description 'MongoDB Repository'
baseurl "https://repo.mongodb.org/yum/redhat/6/mongodb-org/3.0/#{node['kernel']['machine'] =~ /x86_64/ ? 'x86_64' : 'i686'}"
action :create
gpgcheck false
enabled true
end

else
# pssst build from source
Expand Down

0 comments on commit 9ee6a6c

Please sign in to comment.