Project

Profile

Help

Story #83

closed

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

Added by bcourt about 9 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
2.7.0
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
January 2015
Quarter:

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.

Actions #1

Updated by bcourt about 9 years ago

  • Description updated (diff)
Actions #2

Updated by mhrivnak about 9 years ago

  • Priority changed from Normal to High
Actions #4

Updated by cduryee about 9 years ago

  • Sprint/Milestone set to 9
Actions #5

Updated by bcourt about 9 years ago

  • Status changed from NEW to ASSIGNED
Actions #6

Updated by bcourt about 9 years ago

  • Assignee set to bcourt
Actions #7

Updated by bcourt about 9 years ago

  • Status changed from ASSIGNED to POST
  • Platform Release set to master
Actions #8

Updated by bcourt about 9 years ago

  • Status changed from POST to MODIFIED
Actions #9

Updated by rbarlow almost 9 years ago

  • Platform Release changed from master to 2.7.0
Actions #10

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #11

Updated by bcourt over 8 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)

$

Actions #12

Updated by pthomas@redhat.com over 8 years ago

  • Status changed from 5 to 6

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)
Actions #13

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #15

Updated by bmbouter about 6 years ago

  • Sprint set to January 2015
Actions #16

Updated by bmbouter about 6 years ago

  • Sprint/Milestone deleted (9)

Added by ragabala over 5 years ago

Revision bf59e5db | View on GitHub

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 Closes #83

Actions #17

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF