-
-
Notifications
You must be signed in to change notification settings - Fork 27
Refactor StackStorm yum/apt repo #288
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
Conversation
|
Closes #236 |
|
@armab this one is ready when you have some free time (no rush) |
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.
Do we have idempotence check in CI or is it a strong requirement for Puppet module?
I'm not confident rewrite like that is the best approach. It would be really nice to reuse the original packagecloud module instead of re-writing all the things.
Maybe there is a reason behind the way it works or a bug in PackageCloud module itself?
Would be nice at least to report a bug in their Puppet module.
|
@armab let me answer these in order:
https://github.com/voxpupuli/puppet-nodejs/blob/master/manifests/repo/nodesource.pp |
arm4b
left a comment
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.
OK, I made a quick research and computology/computology-packagecloud#26 answers my question with latest changes made to PackageCloud module 3 years ago.
LGTM 👍
Refactor StackStorm yum/apt repo
When working on revamping the integration tests, i noticed that the PackageCloud module was not idempotent (yuck). Every time Puppet would run it would force a refresh of the Yum and Apt caches causing issues when testing for idempotence.
This PR:
<module>::repoclass that is idiomatic to many of the mainstream Puppet reposyumrepoandaptmodules to install the appropriate repository for the given OS