-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
Fix a dependency cycle caused by Apt::Source from puppetlabs-apt 6.3.0 #528
Conversation
|
I think the problem is actually with the resource collector finding more than anticipated. puppet-mongodb/manifests/repo/apt.pp Line 20 in 5133782
Puppet will automatically tag resources in this module with mongodb and I also think if |
manifests/repo.pp
Outdated
| @@ -46,8 +46,8 @@ | |||
|
|
|||
| $mongover = split($version, '[.]') | |||
| $location = $::operatingsystem ? { | |||
| 'Debian' => "https://${repo_domain}/apt/debian", | |||
| 'Ubuntu' => "https://${repo_domain}/apt/ubuntu", | |||
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.
@thaiphv Thanks for reporting this and the PR. This looks like a workaround instead of a bug fix. I’d like to investigate the root cause before making this change.
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.
@alexjfisher I agree that I was more of a workaround rather than a fix. I'll try out your idea and report it back.
|
@thaiphv Would you be able to try the following out for me? Could you change the puppet-mongodb/manifests/client.pp Line 17 in 568dc28
puppet-mongodb/manifests/repo/yum.pp Line 16 in 9c0ef87
puppet-mongodb/manifests/repo/apt.pp Line 20 in 5133782
Thanks |
|
@alexjfisher I can confirm that your suggested changes fixed the issue. |
|
@thaiphv Thanks! |
|
@alexjfisher thanks for your comments |
#528) Tag the package resources with `mongodb_package`
Pull Request (PR) description
Use the HTTP repositories of the Debian packages in an attempt to fix a dependency cycle caused by the Apt::Source class when it tries to install the
apt-transport-httpspackage if the repository locations are HTTPS.This Pull Request (PR) fixes the following issues
Fixes #527