edelight/chef-mongodb

How do I run this?

deanpeterson opened this issue · 2 comments

I am new to Chef. I am trying to get a replica set going. Where do I specify the nodes or ip addresses to run this on? Do I use a knife command? Do I do something like knife bootstrap ADDRESS --run-list 'mongodb::replicaset, node['node1']['mongocluster'],node['node2']['mongocluster']' ?

That does not work. When I just run it with 'mongodb::replicaset' I get a 400 Bad Request error.

Learning chef with this cookbook is the equivalent of learning plumbing on the death star.

I strongly encourage you to look at https://github.com/chef-brigade/mongodb-cookbook, which is maintained.