I haven't actually used this outside of a replica set, so this branch is untested. I'll either remove it or test it when moving this to a new cookbook.