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

Only load ec2 rest once to avoid double loading warnings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 2.4.3
    • Component/s: Community
    • Labels:
      None
    • Template:

      Description

      When implementing custom facter module, I usually require external dependencies. But when requiring 'facter/ec2', I get the following warning:

      ```
      Already evaluated rest at true, reevaluating anyways
      Already evaluated rest at true, reevaluating anyways
      ```

      This PR ensure the `facter/ec2/rest.rb` is only loaded once when I require 'facter/ec2' module.

      Github PR: https://github.com/puppetlabs/facter/pull/870

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                qa qa
                Reporter:
                activars Jing Dong
                QA Contact:
                Kurt Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support