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

Facter 4.0.52 does not return fqdn fact

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2021-03-31
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Update the linux/networking resolver to load
      FFI if previous tries of getting the host information
      failed.
      Show
      Update the linux/networking resolver to load FFI if previous tries of getting the host information failed.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 6.21.1
      OS Name/Version: CentOS 7.9

      I have en issue where rspec tests for a custom type just started to fail yesterday at 00:01.

      An error occurred while loading ./spec/unit/puppet/provider/am_agent_j2ee/ruby_spec.rb.
      Failure/Error: defaultto "amAgent_#{Facter.value('fqdn').gsub('.', '_')}_80.log"
      Puppet::Error:
        Could not autoload puppet/type/am_agent_j2ee: undefined method `gsub' for nil:NilClass 

      and

      [vagrant@localhost vagrant]$ bundle exec facter fqdn
       
      [vagrant@localhost vagrant]$ bundle exec facter | grep fqdn
      [vagrant@localhost vagrant]$
       

       

      Date and time seems to match the release of facter 4.0.52.
      Running my Rspec tests with facter 4.0.51 is ok.

        Attachments

        1. Gemfile
          3 kB
        2. Vagrantfile
          5 kB

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support