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

v6.7.0 Breaks camptocamp-postfix

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • PUP 6.7.0
    • PUP 6.7.2
    • None
    • Ubuntu 18.04 LTS

    • 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
    • Night's Watch
    • NW - 2019-08-07
    • Needs Assessment
    • Bug Fix
    • 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)
    • 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

              gheorghe.popescu Gheorghe Popescu
              comport3 Grant Davies
              Votes:
              8 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support