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

Commands should be available to specify if a node should be a server or agent #6

Closed
brianbianco opened this issue Dec 11, 2014 · 3 comments
Assignees
Milestone

Comments

@brianbianco
Copy link
Contributor

Current auto-consul can automatically determine if it should be a server or an agent based upon passed in parameters. You should be able to tell auto-consul that it should explicitly be an agent or a server (even if this would violate the server numbers passed in via params)

@ethanrowe
Copy link
Owner

Agreed.

The mode determination generally only happens once, and it writes the mode to a file in the local state directory.

I believe that forcing the mode to a particular setting is safe to do, and it's pretty straightforward.

I'll look at the command structure a bit to see how best to organize this.

@ethanrowe ethanrowe added this to the v0.1.0 milestone Dec 11, 2014
@ethanrowe ethanrowe self-assigned this Dec 11, 2014
@ethanrowe
Copy link
Owner

Brian, would you be willing to pull down my "mode-control" branch, building the gem, and trying it in context? I think it'll work fine, but it might be easier if you checked it out directly.

If that's not feasible, just say so and I'll figure something out. By talking to you, as our desks are adjacent.

@ethanrowe
Copy link
Owner

I take it back. I don't want your stinking help. "I can do it on mah own."

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

2 participants