Destroying a replicaset would mean:
* removing all members from the replicaset configuration,
* destroying all the data on each member,
* reconfigure each member without the "--replset" option.

To be able to reuse each member as a separate mongodb server.

So I tend to think destroying a replicaset is out of scope for this module.


About removing a member, it would be feasible with recent versions of mongodb (>= 2.2) [1], but I thought it might be a too dangerous feature and prefered not to write it, but why not (although I'd prefer to implement removing members once the module allows setting advanced settings to replicaset members [2]).

Moreover to be able to reuse the removed member in another replicaset or as a standalone mongodb server it would require to wipe its data.

What's your opinion about this ?

[1] http://docs.mongodb.org/manual/reference/method/rs.remove/#rs.remove
[2] http://docs.mongodb.org/manual/reference/replica-configuration/#configuration-variables