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
[mongodb] Simplify configuration, reduce to minimum #1771
[mongodb] Simplify configuration, reduce to minimum #1771
Conversation
Signed-off-by: Graham Weldon <graham@grahamweldon.com>
Thanks for the pull request! Here is what will happen next:
Thank you for contributing! |
Thanks for this PR @predominant ! While I personally think this is 100% the right pattern, I'm going to toss a |
Thanks @smacfarlane, that’s what I anticipated :) |
I also agree this is the correct course of action - thinking on how we can communicate this to users of the current plan who may depend on the configuration we are removing. |
It also might be worth adding an example of how someone could use this in a configuration plan of their own. |
Signed-off-by: Graham Weldon <graham@grahamweldon.com>
@nellshamrell Since the base plans refresh has been delayed, I'd like to target this to be merged as part of that work when we pick it up again. Thoughts? |
Poke @nellshamrell and @smacfarlane on this one. Any update? |
@predominant I'm going to put this in the |
@smacfarlane I'm cool with that. This has hung around for a while, I think we're all for including it, but were not sure when it should be done. I think at refresh time makes sense. Thanks!! |
@smacfarlane I propose we put this on the radar for base plans refresh as discussed. Would you like this done as a PR to the refresh branch, or shall we do it post-refresh? |
@predominant GitHub lets repo owners change the target branch of a PR, so when we're ready we can merge this straight into the refresh branch. I've been holding on doing this until the glibc and gcc updates are ready, but it might be best to get this and the handful of other PRs in first. |
@predominant I'm going to change the base branch on this and merge it into the refresh branch. The messaging you get when perform that operation warns about losing commits, but isn't clear on what might cause it. I've checked out a local copy in case something goes wrong, but don't expect it to since the target has the same HEAD as master and there are no conflicts. |
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.
I believe this aligns with the intent of https://github.com/habitat-sh/core-plans/blob/master/docs/dev/policy_documents/deprecating-packages.md, formally RFC9 and am incorporating this work into the upcoming base plans refresh.
Signed-off-by: Graham Weldon graham@grahamweldon.com
This reduces the complexity of the configuration, and minimizes the default configuration. It also removes the configuration for mongos.
The new configuration is in line with the default configuration shipped with the MongoDB package for Debian systems.
This is in line with core-plans being a resource for bare minimum setup. More complex configuration should be done in configuration plans.
Testing
Service will load, then perform the following as a test of db interaction: