hipsnip-cookbooks/mongodb — pull request #11 by joe1chen (2014-06-20 04:42:24+00:00)
Title: Fix for replicaset initiate

On Mongo 2.6.2, I'm getting the following error when initiating replicaset with 1 node.

```
Mongo::OperationFailure
-----------------------
Database command 'replSetGetStatus' failed: can't get local.system.replset config from self or any seed (EMPTYCONFIG)
```

This fix checks for the error message and allows replicaset to be initiated.