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

Allow context path in http_proxy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.9.2
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Dumpling
    • Sprint:
      FF 2017-02-08
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      The path of a URL used in module install's --module_repository option is no longer ignored, and will be used when connecting to the repository.

      Description

      tried `export http_proxy=http://10.60.1.94:8080/artifactory/Puppet`

      Then
      `puppet module --debug search apache`
      Debug: Runtime environment: puppet_version=4.5.2, ruby_version=2.1.9, run_mode=user, default_encoding=UTF-8
      Notice: Searching https://forgeapi.puppetlabs.com ...
      Debug: HTTP GET https://forgeapi.puppetlabs.com/v3/modules?query=apache&module_groups=base+pe_only
      Debug: Evicting cache entry for environment 'production'
      Debug: Caching environment 'production' (ttl = 0 sec)
      Error: Could not connect to https://forgeapi.puppetlabs.com
      There was a network communications problem
      The error we caught said '404 "Not Found"'
      Check your network connection and try again
      Error: Try 'puppet help module search' for usage

      It tries to search module only from http://Host:Port it ignores context path

        Attachments

          Activity

            People

            • Assignee:
              michael.smith Michael Smith
              Reporter:
              jainishshah Jainish Shah
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support