Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-10349

puppetlabs-apache : mod::ldap Incorrectly attempts to install mod_ldap on CentOS 6 which doesn't exist.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: apache
    • Labels:
      None
    • Environment:

      CentOS 6 / Apache 2.2 / puppetlabs-apache 5.1.0+

    • Template:
      MODULES Bug Template
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 5.3.0
      Puppet Version:  6.10.1
      OS Name/Version: CentOS 6

      Since release 5.1.0 of puppetlabs-apache it attempts to incorrectly include the package mod_ldap on CentOS 6 which does not exist.

      Desired Behavior:

      The code should not attempt to install mod_ldap on CentOS 6 as it does not exist.

      Actual Behavior:

      On CentOS 6:

      Given the following:

      include apache

      include apache::mod::authnz_ldap

      The run fails with:

      Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list mod_ldap' returned 1: Error: No matching Packages to list
      Error: /Stage[main]/Apache::Mod::Ldap/Apache::Mod[ldap]/Package[mod_ldap]/ensure: change from 'purged' to 'present' failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list mod_ldap' returned 1: Error: No matching Packages to list
      Notice: /Stage[main]/Apache::Mod::Ldap/Apache::Mod[ldap]/File[ldap.load]: Dependency Package[mod_ldap] has failures: true

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            wardk Keith Ward
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support