-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add attributes to configure Consul ports #26
Conversation
@reset Any thoughts? |
@johnbellone this accomplishes the goal but the overall approach we're using to configure the service isn't very safe in the first place. I'd say this is safe to merge in but we should look at validating our attributes to raise awareness at the start of a chef run, not in the middle of it, of misconfigured attributes. |
@reset What's the best way to verify the attributes? |
@johnbellone unfortunately the attributes you define in the metadata of the cookbook don't actually enforce anything... that would be the ideal place. So instead I just write Ruby modules in a Library that take the node object and perform validation on all the things that I expect a node to have. Honestly we (as a community) need to help improve this and make cookbook metadata define the rules and then have them run at convergence time. |
@jubianchi Can you rebase? |
@johnbellone done! |
Add attributes to configure Consul ports
👍 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
No description provided.