Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

upgrade mongodb to 2.2

Change-Id: I4f73031a9fd0ad11a2fe90cb9a431f93377a4af4
  • Loading branch information...
commit e6547d3790351d68d78d4799db2573189882222f 1 parent d48b46a
Haipeng Wu authored
View
18 dev_setup/cookbooks/mongodb/attributes/default.rb
@@ -7,27 +7,31 @@
default[:mongodb][:supported_versions] = {
"1.8" => "1.8.5",
- "2.0" => "2.0.6"
+ "2.0" => "2.0.6",
+ "2.2" => "2.2.1"
}
default[:mongodb][:version_aliases] = {
- "current" => "1.8",
- "next" => "2.0"
+ "current" => "2.2",
+ "deprecated" => "1.8"
}
default[:mongod_options] = {
"1.8" => "",
- "2.0" => "--nopreallocj"
+ "2.0" => "--nopreallocj",
+ "2.2" => "--nopreallocj"
}
-default[:mongodb][:default_version] = "2.0"
+default[:mongodb][:default_version] = "2.2"
default[:mongodb][:id] = {
"1.8.5" => 'eyJzaWciOiJ0NHk5ZzBhRFkxSFZmaGhyNmQ5a0FQZFMxS1U9Iiwib2lkIjoi%0ANGU0ZTc4YmNhNTFlMTIxMjA0ZTRlODZlZThlMmM5MDUwMWEwZTYwOGI4YTMi%0AfQ==%0A',
- "2.0.6" => 'eyJzaWciOiJNTDBqWkJ6NjJ2cWNYWmVaZ3dsUENRWlhjbFE9Iiwib2lkIjoi%0ANGU0ZTc4YmNhNDFlMTIxMjA0ZTRlODZlZTUzOTIxMDUwMWEwZTg2M2IzNTgi%0AfQ==%0A'
+ "2.0.6" => 'eyJzaWciOiJNTDBqWkJ6NjJ2cWNYWmVaZ3dsUENRWlhjbFE9Iiwib2lkIjoi%0ANGU0ZTc4YmNhNDFlMTIxMjA0ZTRlODZlZTUzOTIxMDUwMWEwZTg2M2IzNTgi%0AfQ==%0A',
+ "2.2.1" => 'eyJzaWciOiJkRmZpa2Z0L2pxc1IxMjgvdzc3b2R0SVZ2a2M9Iiwib2lkIjoi%0ANGU0ZTc4YmNhMzFlMTIxMDA0ZTRlN2Q1MTQ3NDVmMDUwZjNhNGQxNjNmZjMi%0AfQ==%0A'
}
default[:mongodb][:checksum] = {
"1.8.5" => '0a84e0c749604cc5d523a8d8040beb0633ef8413ecd9e85b10190a30c568bb37',
- "2.0.6" => '26c09e81a67b15eb66260257665d801c55337a97a5fd028a474f5c194a986f18'
+ "2.0.6" => '26c09e81a67b15eb66260257665d801c55337a97a5fd028a474f5c194a986f18',
+ "2.2.1" => 'b00ce272ab7a85461d5e8f1a467c6005b0711bebc29e02220c56259824190eb8'
}
default[:mongodb_gateway][:service][:timeout] = "15"
View
10 dev_setup/cookbooks/mongodb/templates/default/mongodb_gateway.yml.erb
@@ -2,19 +2,15 @@
cloud_controller_uri: <%= node[:cloud_controller][:service_api_uri] %>
service:
name: mongodb
- version: "1.8"
+ version: "2.2"
description: 'MongoDB NoSQL store'
plans: ['free']
default_plan: 'free'
tags: ['nosql', 'document']
timeout: <%= node[:mongodb_gateway][:service][:timeout] %>
- supported_versions: <%= "['#{node[:mongodb][:supported_versions].keys.join("', '")}']"%>
+ supported_versions: ["<%= node[:mongodb][:default_version] %>"]
version_aliases:
-<%
- node[:mongodb][:version_aliases].each do |a, v|
-%>
- "<%= a %>": "<%= v %>"
-<% end %>
+ "current": "<%= node[:mongodb][:default_version] %>"
host: localhost
index: 0
Please sign in to comment.
Something went wrong with that request. Please try again.