Skip to content

Puppet run fails after updating puppetlabs-apt to 10.0.0 on Debian #749

@ShadNex

Description

@ShadNex

Describe the Bug

After updating the puppetlabs-apt module to the latest version (10.0.0), a Puppet run fails on Debian with the following error:

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Apt::Setting[list-puppet-enterprise-installer]: parameter 'content' expects a value of type Undef or String[1], got String (file: /etc/puppetlabs/code/environments/development/modules/puppet_agent/manifests/osfamily/debian.pp, line: 61) on node ...

Expected Behavior

Puppet Agent should run without an error.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Update puppetlabs-apt to 10.0.0
  2. Run Puppet agent on Debian (tested: 11 and 12)

Environment

  • Version [4.21.0]
  • Platform [Debian 11 and 12]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions