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

'puppet module install --module_repository' never finishes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • PUP 6.10.1, PUP 6.11.1
    • None
    • None
    • None
    • Puppet Developer Experience
    • Needs Assessment
    • Needs Assessment

    Description

      When I add `–module_repository https://artifactory.<mydomain>.com/api/puppet/puppet-forge` to my fixtures, my unit tests just hang forever.

       

      When I run  `puppet module install puppetlabs/stdlib --debug --module_repository  https://artifactory.<mydomain>.com/api/puppet/puppet-forge` on puppet 6.10.1 directly, or on 6.10.1 or 6.11.1 via pdk bundle exec, I see the following:

      ```

      Debug: HTTP GET https://artifactory.<mydomain>.com/api/puppet/puppet-forge/api/puppet/puppet-forge/v3/releases?limit=20&offset=20

       

      Debug: HTTP GET https://artifactory.<mydomain>.com/api/puppet/puppet-forge/api/puppet/puppet-forge/v3/releases?limit=20&offset=20

       

      Debug: HTTP GET https://artifactory.<mydomain>.com/api/puppet/puppet-forge/api/puppet/puppet-forge/v3/releases?limit=20&offset=20

      ```

       

      repeating until I kill it.

       

      If I use `–module_repository https://artifactory.<mydomain>.com`, then I get a 404 with it trying the URL https://artifactory.<mydomain>.com/v3/releases?module=pupetlabs-stdlib&sort_by=version&exclude_fields=readme%2Cchangelog%2Clicense%2Curi%2Cmodule%2Ctags%2Csupported%2Cdownlaods%2Ccreated_at%2Cupdated_at%2Cdeleted_at
      ```

      I've set this up using a combination of Artifactory documentation, and the documentation for puppet and puppet_spec_helper, but have not been able to get it to install  modules from my local Artifactory based forge. (FWIW, I have r10k installing modules from it successfully)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              FriedBob Lee Lowder
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support