Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-11217

Replace `Facter.value` with the new Facter Implementation

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • PUP 6.25.0, PUP 7.11.0
    • None
    • Hide

      Puppet does not call Facter API directly but though the runtimes mechanism

      Show
      Puppet does not call Facter API directly but though the runtimes mechanism
    • Night's Watch
    • 3
    • NW - 2021-09-08, NW - 2021-09-22
    • Enhancement
    • replace all calls to `Facter.` with calls to `Puppet.runtime[:facter].` and remove not needed `require 'facter'`
    • Needs Assessment

    Description

      We should replace all direct and indirect calls to `Facter.value` with the new mechanism that makes use of runtimes

      Puppet.runtime[:facter].get(:fact_name)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support