Fix a dependency cycle caused by Apt::Source from puppetlabs-apt 6.3.0#528
Fix a dependency cycle caused by Apt::Source from puppetlabs-apt 6.3.0#528alexjfisher merged 2 commits intovoxpupuli:masterfrom
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 |
| $mongover = split($version, '[.]') | ||
| $location = $::operatingsystem ? { | ||
| 'Debian' => "https://${repo_domain}/apt/debian", | ||
| 'Ubuntu' => "https://${repo_domain}/apt/ubuntu", |
There was a problem hiding this comment.
@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.
@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