What is the best option to configure a replica set in MongoDB with Puppet?

I have to do this steps:


mongo localhost:10000/admin 

> rs.initiate({"_id" : "shard1", "members" : [ 

... {"_id" : 0, "host" : "<service ip node 1>:10000"}, 

... {"_id" : 1, "host" : "<service ip node 2>:10000"}, 

... {"_id" : 2, "host" : "<service ip node 3>:11000", arbiterOnly : 
true}]}) 


Thanks!!

Luis

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/28b53165-5d2e-4a90-a699-9b64f2e33925%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to