Thank you. This works (kinda), but now we have this problem: https://pulp.plan.io/issues/1388
On Tue, Nov 24, 2015 at 8:54 PM, Dennis Kliban <[email protected]> wrote: > > ----- Original Message ----- > > > I forgot to mention that we have upgraded to 2.7 > > > > I just got to trying this out myself. I filed this issue [0] to track the > > problem. > > I just realized that we were both using the wrong URL for the v3 of Puppet > Forge API. Here is the command that works: > > puppet module --module_repository > http://repository:forge-repo@localhost/v3/releases > install puppetlabs-ciscopuppet > > You have to specify the name of the repository as basic auth credentials. > Our documentation [0] on this is brief and should probably be expanded. > > -Dennis > > [0] > http://pulp-puppet.readthedocs.org/en/2.7-release/tech-reference/forge_api.html > > > > > > Thanks, > > Dennis > > > > [0] https://pulp.plan.io/issues/1378 > > > > > > > > > > > On Mon, Nov 16, 2015 at 5:11 PM, Dennis Kliban <[email protected]> > wrote: > > > > > > > ----- Original Message ----- > > > > > Hello, > > > > > > > > > > When trying to download modules from our local forge with puppet > 3.8, > > > > > the > > > > > returned code from pulp is 401: > > > > > > > > I believe you can only use the latest client with Pulp 2.7.0. Which > > > > version of pulp-server and pulp-puppet do you have installed? > > > > > > > > -Dennis > > > > > > > > > > > > > > # puppet module install --module_repository > > > > > http:// > $(hostname)/pulp_puppet/forge/repository/optymyze_puppet_forge > > > > > --config /dev/null --target-dir /tmp/qqw puppetlabs-stdlib > --verbose > > > > --debug > > > > > Debug: Runtime environment: puppet_version=3.8.4, > ruby_version=2.0.0, > > > > > run_mode=user, default_encoding=UTF-8 > > > > > Notice: Preparing to install into /tmp/qqw ... > > > > > Notice: Downloading from > > > > > > > > > > http://pulp_server.company.net/pulp_puppet/forge/repository/optymyze_puppet_forge > > > > > ... > > > > > Debug: HTTP GET > > > > > > > > > > http://pulp_server.company.net/pulp_puppet/forge/repository/optymyze_puppet_forge/v3/releases?module=puppetlabs-stdlib > > > > > Debug: Evicting cache entry for environment 'production' > > > > > Debug: Caching environment 'production' (ttl = 0 sec) > > > > > Debug: Failed to load library 'pe_license' for feature 'pe_license' > > > > > Error: Request to Puppet Forge failed. > > > > > The server being queried was > > > > > > http://pulp_server.company.net/v3/releases?module=puppetlabs-stdlib > > > > > The HTTP response we received was '401 UNAUTHORIZED' > > > > > > > > > > > > > > > It works if we use the old puppet agent (3.5) > > > > > > > > > > I probably missed something during the upgrade, but I have no idea > > > > > what. > > > > > > > > > > > > > > > Thank you, > > > > > Cristian Falcas > > > > > > > > > > > > > > > _______________________________________________ > > > > > Pulp-list mailing list > > > > > [email protected] > > > > > https://www.redhat.com/mailman/listinfo/pulp-list > > > > > > > > > > > _______________________________________________ > > Pulp-list mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/pulp-list > > >
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
