edelight / chef-mongodb

MongoDB Chef cookbook
https://community.opscode.com/cookbooks/mongodb
Apache License 2.0
363 stars 3 forks source link

How do I run this? #408

Open deanpeterson opened 9 years ago

deanpeterson commented 9 years ago

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.

casmarc commented 8 years ago

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

josephholsten commented 8 years ago

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