mongodb/mongo — pull request #319 by danieltahara (2012-10-18 23:50:41+00:00)
Title: Fix timing bug in Mongodb replicaset configuration

Since start_server() and restart_server() do not actually verify whether the
port is open and receiving connections (even though mongo starts up,
pre-alloc/other setup takes a few minutes), the replicaset recipe was failing to
establish a connection with the db. The change to the initd file waits for the
port to be open before proceeding, ensuring that the replicaset recipe will
work.

Fixes: https://github.com/edelight/chef-mongodb/issues/17
References: https://github.com/edelight/chef-mongodb/pull/43