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

Facter resolves facts multiple times when providers are confined based on facts, especially on Windows

    XMLWordPrintable

Details

    • 50176,50537
    • 2
    • Bug Fix
    • Facter 4 previously was not looking to use any cache information when looking up a fact or value Facter methods. We have resolved that to now use cache information when using the fact or value methods.
    • Needs Assessment

    Description

      Run Puppet with --debug and the same block is repeated. This seems to have been partially resolved in FACT-3001. However, on the latest release similar logs continue to repeat on Windows nodes

      Debug: Facter: Loading external facts
      Debug: Facter: fact "operatingsystem" has resolved to: windows
      Debug: Facter: resolving fact with user_query: operatingsystem
      Debug: Facter: Searching fact: operatingsystem in file: operatingsystem.rb
      Debug: Facter: Searching fact: operatingsystem in core facts and external facts
      Debug: Facter: Loading all internal facts
      Debug: Facter: List of resolvable facts: [#<Facter::SearchedFact:0x0000000009db77a8 @name="operatingsystem", @fact_class=Facts::Windows::Os::Name, @user_query="operatingsystem", @type=:legacy, @file=nil>]
      Debug: Facter: Loading external facts
      Debug: Facter: fact "operatingsystem" has resolved to: windows
      Debug: Facter: resolving fact with user_query: operatingsystem
      Debug: Facter: Searching fact: operatingsystem in file: operatingsystem.rb
      Debug: Facter: Searching fact: operatingsystem in core facts and external facts
      Debug: Facter: Loading all internal facts
      Debug: Facter: List of resolvable facts: [#<Facter::SearchedFact:0x0000000009dd7080 @name="operatingsystem", @fact_class=Facts::Windows::Os::Name, @user_query="operatingsystem", @type=:legacy, @file=nil>]
      Debug: Facter: Loading external facts
      Debug: Facter: fact "operatingsystem" has resolved to: windows
      Debug: Facter: resolving fact with user_query: operatingsystem
      Debug: Facter: Searching fact: operatingsystem in file: operatingsystem.rb
      Debug: Facter: Searching fact: operatingsystem in core facts and external facts
      Debug: Facter: Loading all internal facts
      Debug: Facter: List of resolvable facts: [#<Facter::SearchedFact:0x0000000008a92e98 @name="operatingsystem", @fact_class=Facts::Windows::Os::Name, @user_query="operatingsystem", @type=:legacy, @file=nil>]
      Debug: Facter: Loading external facts
      Debug: Facter: fact "operatingsystem" has resolved to: windows
      Debug: Facter: resolving fact with user_query: operatingsystem
      Debug: Facter: Searching fact: operatingsystem in file: operatingsystem.rb
      Debug: Facter: Searching fact: operatingsystem in core facts and external facts
      Debug: Facter: Loading all internal facts
      Debug: Facter: List of resolvable facts: [#<Facter::SearchedFact:0x0000000009e277d8 @name="operatingsystem", @fact_class=Facts::Windows::Os::Name, @user_query="operatingsystem", @type=:legacy, @file=nil>]
      Debug: Facter: Loading external facts
      Debug: Facter: fact "operatingsystem" has resolved to: windows
      Debug: Facter: resolving fact with user_query: operatingsystem
      Debug: Facter: Searching fact: operatingsystem in file: operatingsystem.rb
      Debug: Facter: Searching fact: operatingsystem in core facts and external facts
      Debug: Facter: Loading all internal facts

       

      Attachments

        Issue Links

          Activity

            People

              christopher.thorn Christopher Thorn
              taika.augustaitis Taika Augustaitis
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support