sunggun-yu / chef-mongodb3

Chef Cookbook for MongoDB v3
https://supermarket.chef.io/cookbooks/mongodb3
Apache License 2.0
33 stars 58 forks source link

Added support for 3.4 version #59

Open furbiesandbeans opened 7 years ago

furbiesandbeans commented 7 years ago

mongos:sharding:autoSplit and sharding:chunkSize are no longer supported on 3.4 and cause mongos to fail if they're set

acsrujan commented 5 years ago

We can add Sharding options too in the same PR, /attributes/default.rb, next to storage options.

# sharding options: http://docs.mongodb.org/manual/reference/configuration-options/#storage-options
default['mongodb3']['config']['mongod']['sharding']['clusterRole'] = nil # shardsvr or configsvr