Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-3040

undefined method `each_line' for nil:NilClass

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: FACT 4.1.1
    • Fix Version/s: FACT 4.2.0
    • Component/s: Facter 4
    • Environment:

      Puppet AIO Version
      CentOS 7/8: 7.6.1
      Debian: 6.22.1

    • Template:
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2021-06-02
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      This release fixes a bug where multi-line commands executed through the `Facter::Util::Resolution` API were not expanded correctly.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Hello,

      after upgrading our Puppet Infrastructure to 7.6.1, self created facts are failing on Debian 10 with "undefined method `each_line' for nil:NilClass"

      The same facts are working on CentOS 7/8 w/o problems.

      I need to downgrade the debian boxes to 6.22, as no 7 version is working on debian.

      I attach a fact.

      Thanks in Advance
      Jens
       

       

        Attachments

          Activity

            People

            Assignee:
            gheorghe.popescu Gheorghe Popescu
            Reporter:
            bauernfeind Jens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support