Skip to content

Can't use mongodb repository on debian 9 #529

@hdep

Description

@hdep

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 5.3.7
  • Ruby: 2.3.3
  • Distribution: Debian 9
  • Module version: 2.4.1

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

With hiere set some variables to use official mongodb repository :

mongodb::globals::manage_package_repo: true
mongodb::globals::manage_package: true
mongodb::globals::repo_location: 'http://repo.mongodb.org/apt/debian'
mongodb::globals::version: '3.6'

What are you seeing

puppet run failed for apt key configuration

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, key hash must contain at least an id entry (file: /etc/puppetlabs/code/environments/production/modules/apt/manifests/source.pp, line: 47, column: 9) (file: /etc/puppetlabs/code/environments/production/modules/mongodb/manifests/repo/apt.pp, line: 9) on node node.domain.local
Warning: Not using cache on failed catalog

What behaviour did you expect instead

Module add the repository key without error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions