I am trying to setup replicaset
using Chef
and Mongo
Ruby gem. I have already got Chef
cookbooks from supermarket but the problem is that they used old version of Mongo gem and its related objects.
I mean, Please help on how to use replicaset
commands with examples available here.
Thanks in advance.
答案 0 :(得分:0)
这由sc-mongodb
食谱已经处理,请在文档中查看https://github.com/sous-chefs/mongodb#replicasets,但简短版本是使用sc-mongodb::replicaset
食谱而不是::default
。