Prefix various checks with rs.slaveOk so that these work on slave members of a replicaset
Merge pull request #1 from datacentred/fix_rs_checks

Prefix various checks with rs.slaveOk so that these work on slave member...