Open kri5 opened 10 years ago
wouldn't it be better if you just changed rs_member to the ipaddresses if the flag is set to true further above?
@jamesonjlee do you mean here https://github.com/kri5/chef-mongodb/blob/0565aca19b653350758f10277dbc7fd91d44753f/libraries/mongodb.rb#L73 ?
This PR adds the ability to use ip address by specifying an attribute [:mongodb][:use_ip_address] instead of the fqdn for replicaset creation.