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

puppetlabs-apache : "Agent fails with Failed to parse template apache/httpd.conf.erb"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: apache
    • Labels:
      None
    • Environment:

      Module : puppetlabs-apache (v5.7.0)
      Puppet agent puppet-agent-7.0.0-1.el7.x86_64 running on CentOS release 7.7.1908
      Puppet Server  5.0.0-4 running on CentOS Linux release 7.6.1810

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

      Description

      Module : puppetlabs-apache (v5.7.0)

      Puppet agent puppet-agent-7.0.0-1.el7.x86_64 running on CentOS release 7.7.1908

      Puppet Server  5.0.0-4 running on CentOS Linux release 7.6.1810

      ISSUE DESCRIPTION :

      After the module upgrade at the the latest release, the client agent fails to run with the following output :

      Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Function Call, Failed to parse template apache/httpd.conf.erb:                 
       Filepath: /etc/puppetlabs/puppet/modules/apache/lib/puppet/functions/apache/bool2httpd.rb
       Line: 28
       Detail: undefined method `match?' for "Off":String  
      (file: /etc/puppetlabs/puppet/modules/apache/manifests/init.pp, line: 795, column: 18) on node fep-iolam-1.iol.sys
      Warning: Not using cache on failed catalog
      Error: Could not retrieve catalog; skipping run

       

      Basic Info
      Module Version:
      Puppet Version:
      OS Name/Version:

      Describe your issue in as much detail as possible...

      Desired Behavior:

      Actual Behavior:

      Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gabiann Gab Iann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support