Project

Profile

Help

Story #83

As a user I can install puppet modules using "puppet module install" and the v3 forge API

Added by bcourt over 4 years ago. Updated 4 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Platform Release:
2.7.0
Blocks Release:
Backwards Incompatible:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
Yes
Verification Required:
No
Sprint:
January 2015

Description

As a user I can install a module using the puppet module install command line using the v3 forge api enumerated at https://forgeapi.puppetlabs.com/

This will entail creating a new /v3/releases endpoint. We will have to go back to the pre-puppet 3.3 method of determining the repository and consumer as the ability to specify a context root has been disabled.

The api now requires pagination, offset tracking, and providing the urls for the next/previous queries in the case of pagination.
There are now many more options for filtering.

We will only have to support the /v3/releases endpoint at this time.

Associated revisions

Revision bf59e5db View on GitHub
Added by ragabala 9 months ago

Test whether puppet modules with extraneous files are properly uploaded.

This commit tests whether an upload of a puppet module containing
extraneous files will be added to the pulp repo without any issues.

Refer [Pulp.plan 1846](https://pulp.plan.io/issues/1846)
Closes #83

History

#1 Updated by bcourt over 4 years ago

  • Description updated (diff)

#2 Updated by mhrivnak over 4 years ago

  • Priority changed from Normal to High

#3 Updated by skarmark@redhat.com over 4 years ago

  • Complexity set to 8

#4 Updated by cduryee over 4 years ago

  • Sprint/Milestone set to 9

#5 Updated by bcourt over 4 years ago

  • Status changed from NEW to ASSIGNED

#6 Updated by bcourt over 4 years ago

  • Assignee set to bcourt

#7 Updated by bcourt over 4 years ago

  • Status changed from ASSIGNED to POST
  • Platform Release set to master

#8 Updated by bcourt over 4 years ago

  • Status changed from POST to MODIFIED

#9 Updated by rbarlow over 4 years ago

  • Platform Release changed from master to 2.7.0

#10 Updated by dkliban@redhat.com about 4 years ago

  • Status changed from MODIFIED to ON_QA

#11 Updated by bcourt about 4 years ago

  • Groomed set to No
  • Sprint Candidate set to No

This can be tested by using a fedora 22 system to install a puppet module using the standard puppet tooling. For example:

$ rpm -qa | grep puppet
puppet-4.1.0-1.fc22.noarch

$ pulp-admin puppet repo create --repo-id=forge --feed=http://forge.puppetlabs.com --queries torssh
...
$ pulp-admin puppet repo sync run --repo-id forge
...
$ puppet module install --module_repository http://.:forge@localhost tompurl/torssh
Notice: Preparing to install into /home/bcourt/.puppet/code/modules ...
Notice: Downloading from http://.:forge@localhost ...
Notice: Installing -- do not interrupt ...
/home/bcourt/.puppet/code/modules
└── tompurl-torssh (v0.1.0)

$

#12 Updated by pthomas@redhat.com about 4 years ago

  • Status changed from ON_QA to VERIFIED

Verified

[root@mgmt13 ~]# pulp-admin login -u admin -p admin
Successfully logged in. Session certificate will expire at Jul 28 16:28:55 2015
GMT.

[root@mgmt13 ~]#  pulp-admin puppet repo create --repo-id=forge --feed=http://forge.puppetlabs.com --queries torssh
Successfully created repository [forge]

[root@mgmt13 ~]# pulp-admin puppet repo sync run --repo-id forge
+----------------------------------------------------------------------+
                    Synchronizing Repository [forge]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[==================================================] 100%
Metadata Query: 1/1 items
... completed

Downloading new modules...
[==================================================] 100%
Module: 1/1 items
... completed

Task Succeeded

Publishing modules...
[==================================================] 100%
Module: 1/1 items
... completed

Generating repository metadata...
[-]
... completed

Publishing repository over HTTP...
... completed

Publishing repository over HTTPS...
... skipped

Task Succeeded

[root@mgmt13 ~]# puppet module install --module_repository http://.:forge@localhost tompurl/torssh
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from http://.:forge@localhost ...
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└── tompurl-torssh (v0.1.0)

#13 Updated by dkliban@redhat.com almost 4 years ago

  • Status changed from VERIFIED to CLOSED - CURRENTRELEASE

#14 Updated by pulpbot over 2 years ago

  • Verified changed from No to Yes

#15 Updated by bmbouter over 1 year ago

  • Sprint set to January 2015

#16 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (9)

#17 Updated by bmbouter 4 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF