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

LOADPATH issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.4.3
    • Fix Version/s: None
    • Component/s: Modules
    • Labels:
    • Template:

      Description

      We're seeing some strange behaviour with, I think, LOADPATH. I recently added and apt_key type and provider to puppetlabs-apt and we had to patch open-uri. The code for that was loaded from puppet_x/apt_key/patch_openuri and all your tests passed.

      However, people that have modules that used puppetlabs-apt suddenly had their tests blow up on them because the require puppet_x/apt_key/patch_openuri wasn't working. We ended up swapping to a File.expand_path based solution but that's nasty.

      The question, what's happening with LOADPATH and why isn't the puppet_x stuff kept on it?

      This is basically the issue MODULES-520 worked around.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              daenney Daniele Sluijters
              QA Contact:
              Kurt Wall Kurt Wall
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support