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

Only load ec2 rest once to avoid double loading warnings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • FACT 2.4.3
    • Community
    • None

    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

          People

            qa qa
            activars Jing Dong
            Kurt Wall Kurt Wall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support