Skip to content
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

move relationship between package and repo into code block where repo is managed #160

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

lukebigum
Copy link
Contributor

@lukebigum lukebigum commented Dec 10, 2020

Pull Request (PR) description

This patch moves the relationship between the Yumrepo and the Package resources into the same conditional block of where the Yumrepo is created. Thus it doesn't assume there's always a Yumrepo[influxdata] in the catalog, even if manage_repo=>false.

@marszip
Copy link

marszip commented Feb 22, 2021

Can this pull request be merged and released, please?
We just upgraded the module and ran into this issue

@kenyon kenyon self-assigned this Mar 1, 2021
The relationship specifications were incorrectly outside of the "if
$manage_repo" block. Also the tests should have been failing because
of that, but the tests were made to artificially pass. This commit
fixes the tests and the Puppet code.

Co-authored-by: Luke Bigum <Luke.Bigum@lmax.com>
@kenyon
Copy link
Member

kenyon commented Mar 1, 2021

This was also a problem with the Debian part of the code. I've now fixed the tests and the code.

@kenyon kenyon mentioned this pull request Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants