-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
apt::update ordering creates dependency cycles #4
Comments
As another datapoint, this creates some dependency cycles when used in conjunction with the Kibana module. |
Oh that's nasty. Thanks for pointing it out. It saddens me that |
Perhaps we should remove this altogether. This module does not install any packages, so refreshing the package list is not really its concern. Other modules that do install packages will know the names of those packages, and thus what to order after the update resource. |
Fixed in version 6.0.1. https://forge.puppet.com/elastic/elastic_stack/changelog#release-601 |
This statement
Class['apt::update'] -> Package <| |>
[1] inserts a dependency in all packages defined not only by this module but for every other .pp file.In many cases we want to install some packages before running the
apt::update
but this module makes in impossible. One example would be the package 'apt-transport-https'.My suggestion is to only add the dependency to the specific packages the modules depends on instead of using the "wildcard".
[1] https://github.com/elastic/puppet-elastic-stack/blob/master/manifests/repo.pp#L34
The text was updated successfully, but these errors were encountered: