-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Generate node roles instead of hard coding them #31
Conversation
Commit message probably should say 'node roles' not 'node names'. |
I am not sure this is worth it. |
Nice catch! I updated the commit message. |
There is also
Elasticsearch already does this validation. If you set a node role that doesn't exist it will fail to start up.
Do you see any issues with doing it this way? |
Oh ok I wasn't aware there were more than those three node types. :) I am just concerned about deploying broken clusters or breaking current clusters. |
I am +1 on this proposal, but I think it's outside the scope of this PR given this concern exists in both I am +1 on input validation and improving feedback when typos/errors are made, but I think that can be improved outside of this PR. |
I tested this, and it works for me. I'm unable to run
The above failure seems related to my environment and not specific to this PR (as it fails also on master) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested manually and reviewed the changes.
LGTM :)
Weird, I thought that maybe specifying the Can you also show me the output of |
No description provided.