Project

General

Profile

Bug #12001

puppet-module list : command does not allow listing modules based on repository name

Added by Brad Buckingham over 3 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Unlike the package and erratum commands, the puppet-module 'list' does not allow for listing of modules using repository name.

E.g.

hammer> erratum list --organization 'Default Organization' --product 'zoo' --repository 'zoo'
-------------------------------------|----------------|----------|----------------
ID                                   | ERRATA ID      | TYPE     | TITLE          
-------------------------------------|----------------|----------|----------------
8de9397c-6742-4c09-896b-c1bafe706561 | RHEA-2012:0001 | security | Bear_Erratum   
74992dba-53d2-4d2b-80f3-976432acf46d | RHEA-2012:0004 | security | Gorilla_Erratum
3820da12-fab4-4c46-aa90-3279d772d277 | RHEA-2012:0002 | security | Sea_Erratum    
1ee24d9c-b2f9-4f6f-9179-58ed03d93964 | RHEA-2012:0003 | security | Bird_Erratum   
-------------------------------------|----------------|----------|----------------

hammer> puppet-module list --organization 'Default Organization' --product 'puppet' --repository 'puppet 1'
Error: Unrecognised option '--product'

See: ' puppet-module list --help'
hammer> 

Associated revisions

Revision 17ffc1e0 (diff)
Added by Brad Buckingham over 3 years ago

fixes #12001 - update puppet-modules list to support repository name

Minor update to support:

hammer> puppet-module list --organization 'Default Organization' --product 'puppet' --repository 'puppet 1'
---|------|------------|--------
ID | NAME | AUTHOR | VERSION
---|------|------------|--------
2 | dns | theforeman | 1.3.0
1 | dns | theforeman | 1.4.0
---|------|------------|--------

This is to be consistent with the corresponding package and erratum
commands.

Revision 41a9e558
Added by Brad Buckingham over 3 years ago

Merge pull request #323 from bbuckingham/issue-12001

fixes #12001 - update puppet-modules list to support repository name

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/323 added
  • Pull request deleted ()

#2 Updated by Eric Helms over 3 years ago

  • Category set to Hammer
  • Legacy Backlogs Release (now unused) set to 70
  • Triaged changed from No to Yes

#3 Updated by Brad Buckingham over 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF