Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Commit

Permalink
Merge pull request #11 from Unitt/feature/configure-keyserver
Browse files Browse the repository at this point in the history
Make keyserver configurable and fix faraday (berkshelf version bump)
  • Loading branch information
sunggun-yu committed Nov 15, 2015
2 parents 6103359 + 4268033 commit 0505fc9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'berkshelf', '~> 3.2.4'
gem 'berkshelf', '~> 4.0.1'
gem 'test-kitchen', '~> 1.4.0'
gem 'foodcritic', '4.0.0'

Expand Down
3 changes: 3 additions & 0 deletions attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
# Key file contents
default['mongodb3']['config']['key_file_content'] = nil

# Key server
default['mongodb3']['keyserver'] = 'hkp://keyserver.ubuntu.com:80'

# Mongod config
# The default value of the attribute is referred to the MongoDB documentation.
# The attribute value of nil will be removed from mongod config file.
Expand Down
2 changes: 1 addition & 1 deletion recipes/package_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
uri 'http://repo.mongodb.org/apt/ubuntu'
distribution "#{node['lsb']['codename']}/mongodb-org/stable"
components ['multiverse']
keyserver 'hkp://keyserver.ubuntu.com:80'
keyserver node['mongodb3']['keyserver']
key '7F0CEB10'
action :add
end
Expand Down

0 comments on commit 0505fc9

Please sign in to comment.