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

Domain fact cannot be resolved on travis without ffi

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • FACT 4.0.52
    • FACT 4.1.0
    • None
    • Night's Watch
    • 2
    • NW - 2021-03-31
    • Needs Assessment
    • Bug Fix
    • Hide
      Fixed a bug that prevented FQDN facts to be resolved in certain situations where FFI is not installed.
      Show
      Fixed a bug that prevented FQDN facts to be resolved in certain situations where FFI is not installed.
    • Needs Assessment

    Description

      https://github.com/puppetlabs/facter/pull/2315 changed the way we resolve hostname on domain, also relying on FFI.
      When FFI is not installed, Facter will not continue to search for hostname and domain and it will not resolve the facts.

      This was noticed in puppetserver-ca-cli pipeline.

      A fix was done in https://github.com/puppetlabs/facter/pull/2318 but this is not sufficient.
      If FFI cannot be loaded, we must log a debug message and continue the search.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support