Permalink
Browse files

Start mongo 2.0 with journalling disabled

Change-Id: Ib3a95dedcdf1996febbc360a8d49b7c61e8dea89
  • Loading branch information...
1 parent a7462c3 commit 8e5d34e8184c360197f3bb20c933861193710b8a Harshawardhan Gadgil committed Jul 9, 2012
@@ -10,6 +10,11 @@
"next" => "2.0"
}
+default[:mongod_options] = {
+ "1.8" => "",
+ "2.0" => "--nojournal"
+}
+
default[:mongodb][:default_version] = "1.8"
default[:mongodb][:download_base_path_prefix] = "http://fastdl.mongodb.org/linux/mongodb-linux-#{node[:kernel][:machine]}"
@@ -32,6 +32,14 @@ mongorestore_path:
"<%= version %>": "<%= File.join(node[:deployment][:home], "deploy", "mongodb", node[:mongodb][:supported_versions][version], "bin", "mongorestore") %>"
<% end %>
+mongod_options:
+<%
+ node[:mongodb][:supported_versions].each_key do |version|
+%>
+ "<%= version %>": "<%= node[:mongod_options][version] %>"
+<% end %>
+
+
port_range:
first: 25001
last: 45000

0 comments on commit 8e5d34e

Please sign in to comment.