Skip to content

The class mongodb::repo::apt doesn't work with apt::source from latest version of puppetlabs/apt #527

@thaiphv

Description

@thaiphv

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.5.2
  • Ruby: 2.3.1
  • Distribution: Ubuntu
  • Module version: 2.4.1

How to reproduce (e.g Puppet code you use)

class { 'mongodb::globals':
  manage_package_repo => true,
  version             => '3.6',
} ->
class { 'mongodb::server':
  package_ensure => 'present',
}

What are you seeing

Error: Found 1 dependency cycle:
(Package[apt-transport-https] => Apt::Source[mongodb] => Package[apt-transport-https])\nTry the '--graph' option and opening the resulting '.dot' file in OmniGraffle or GraphViz

What behaviour did you expect instead

The code should execute successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions