Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-520

PR (268): Use File.expand_path with require. - daenney

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:

      Description

      Use File.expand_path with require.

      Pull Request Description


      For some reason, even though our own tests pass with `require
      puppet_x/apt_key/patch_openuri` every other module that depends on
      puppetlabs-apt is now breaking in tests claiming it can't load that
      module.

      Somewhere along the way something is probably messing with LOADPATH
      causing this to trip up. This should fix the issues for everyone.

      This commit affects:

      • puppetlabs/puppetlabs-apt#229
      • puppetlabs/puppetlabs-postgresql#391

      (webhooks-id: 248d0741d5994aaac2e8be3ca260ad93)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gepetto-bot gepetto-bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support