Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override rs.members.host with specified names #401

Closed
yuhanz opened this issue Jul 27, 2015 · 0 comments
Closed

override rs.members.host with specified names #401

yuhanz opened this issue Jul 27, 2015 · 0 comments

Comments

@yuhanz
Copy link

yuhanz commented Jul 27, 2015

We have the requirement of being able to specify the hostname at each member in a replicaset.

currently, this recipe sets the host name for rs.members.host with the value in node[:fqdn]. but in aws-environment, the host name changes. so we'd like to be able to override it with a static ip. (for some reason, configure through DNS is not an option.)

The proposed solution is the have an override attribute.
members[n]['mongodb']['fqdn_override'] = "10.2.3.4"

such that if this attribute is present, it will be used in place for node['fqdn']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant