-
Notifications
You must be signed in to change notification settings - Fork 95
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
Version 1.3.0 of stahnma/epel creates a dependency cycle when Yumrepo resources are declared in different run stages #72
Comments
If the collector is changed to |
Seems like the intent of #68 may have been to disable management of repos in the EPEL module which allows them to be managed by other modules --- but still keep the GPG key working in the right order via the collector. Using a tag of Or just punt it entirely. If someone wants to disable management of repos in the epel class because it's managed elsewhere, then they should sort the resulting dependency out in a profile class using a method that is appropriate for their situation. |
I suggested the tag because of automatic tagging. Maybe it should really be |
Aye, but in that case why have a collector at all? Why not just use explicit dependencies on the EPEL yumrepo resources and avoid the knock-on effects of collectors? Seems like #68 added this specifically to make the module interact with external yumrepo resources. |
I think that's another way to do the dependencies explicitly without being explicit in labeling each resource. But in this case, it does seem like removing it entirely is appropriate. |
what was the resolution here? it is breaking my setup pretty hard. |
Just released 1.3.1 that I think should fix this. |
The changes in #68 added an unfiltered resource collector that makes all Yumrepo instances depend on the EPEL GPG key:
This will result in a dependency cycle if any Yumrepo resource is declared in a run stage that occurs before the stage containing Class[Epel] and also creates an unnecessary dependency for any repo that doesn't use the EPEL GPG key.
Puppet Enterprise compile masters use such a stage to ensure the PE repositories are configured before Stage[main] kicks off. Adding the Epel from 1.3.0 to a PE compiler results in a dependency cycle:
The text was updated successfully, but these errors were encountered: