-
Notifications
You must be signed in to change notification settings - Fork 321
Cloud 1524 #31
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
Cloud 1524 #31
Conversation
LGTM |
FYI, this was not a legitimate change to put in a patch release per SemVer. It should have required a major version bump since it changed the public API. |
@thrnio I disagree with you. As it only added the new repo's which is actually abstracted from the user and changed a param name. No new functionality was added. |
The parameters on |
He's totally right about this being a major version bump. It's why I was waiting to release an official I really think though, that we're hurting maintainers in the first place by having all these static parameters to begin with, and then also having duplicate params for You should be able to pass repo params as a hash, and we should use an asterisk to assign to either This allows users to change and add params as the underlying resource libraries change the modules they support, and it allows a far wider range of configuration while simultaneously reducing the parade of params and making documentation simpler. For example, let's say i want to pull from upstream, but I want to do it through my own mirror. I don't want to have to disable package management and do all sorts of management of packages and and such on my own, and lose all the resource ordering that comes with it here.
|
Putting aside the issue of release versions, @LongLiveCHIEF as we've previously discussed, we're happy to take community PR's on this module. I don't disagree that this part of the module could be simplified, however we also need to take into account that we want to make this easy to use for newcomers to docker. The PR that was raised previously to refactor the module didn't support Puppet 4, or hiera 3 hence we couldn't accept it. If this is something you want to contribute, then the team and myself will gladly look at a WIP PR and discuss options and opinions there. As you're working through the PR reach out to myself @davejrt or @scotty-c on the puppet community slack and we can discuss the changes so we're aligned |
This PR will add the functionality to install the latest versions of docker-ce on all channels in the new docker repos. It maintains support for using the docker-engine package from the old repos based on the version number passed into the module.
It removed where necessary case statements for unsupported OS's like Archlinux, Gentoo and older versions of RHEL.