Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-9914

v6.7.0 Breaks camptocamp-postfix

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: PUP 6.7.0
    • Fix Version/s: PUP 6.7.2
    • Component/s: None
    • Environment:

      Ubuntu 18.04 LTS

    • Template:
    • Acceptance Criteria:
      Hide

      puppet apply -e 'include ::postfix' should install and configure Postfix as it used to previously, and still works in v6.6.0

      Show
      puppet apply -e 'include ::postfix' should install and configure Postfix as it used to previously, and still works in v6.6.0
    • Team:
      Night's Watch
    • Sprint:
      NW - 2019-08-07
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Fixed the regression introduced by https://github.com/puppetlabs/puppet/pull/7424 after which puppet was unable to parse files correctly, resulting in errors like: Could not prefetch mailalias provider 'aliases': Could not parse line "mailer-daemon: postmaster" (file: /etc/aliases, line: 12)
      Show
      Fixed the regression introduced by https://github.com/puppetlabs/puppet/pull/7424 after which puppet was unable to parse files correctly, resulting in errors like: Could not prefetch mailalias provider 'aliases': Could not parse line "mailer-daemon: postmaster" (file: /etc/aliases, line: 12)
    • QA Risk Assessment:
      Needs Assessment

      Description

      The new version (v6.7.0) of the puppet-agent has introduced a regression that has broken our MTA (Postfix), based on the camptocamp-postfix module.
       
      Steps to reproduce on Ubuntu 18.04 LTS:
      ```
      wget https://apt.puppetlabs.com/puppet6-release-bionic.deb
      dpkg -i puppet6-release-bionic.deb
      apt update;apt install -y puppet-agent
      puppet module install camptocamp-postfix --version 1.8.0
      puppet apply -e 'include ::postfix'
      ```
      Output: Error: Could not prefetch mailalias provider 'aliases': Could not parse line "postmaster:    root" (file: /etc/aliases, line: 3)
      Error: Failed to apply catalog: Could not parse line "postmaster:    root" (file: /etc/aliases, line: 3)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gheorghe.popescu Gheorghe Popescu
                Reporter:
                comport3 Grant Davies
              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support