Bug 1134082 - puppet-module CLI command says I'm missing product params when there are no product params
Summary: puppet-module CLI command says I'm missing product params when there are no p...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: David Davis
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-26 19:19 UTC by David Davis
Modified: 2017-02-23 21:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-24 15:38:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 7269 0 None None None 2016-04-22 15:54:30 UTC

Description David Davis 2014-08-26 19:19:07 UTC
❯ h puppet-module list --organization-id 1
Error: Missing options to search product
❯ h puppet-module list --organization-id 1 --product-id 1
Error: Unrecognised option '--product-id'
❯ h puppet-module list -h
Usage:
    hammer puppet-module list [OPTIONS]

Options:
    --content-view CONTENT_VIEW_NAME Content view name
    --content-view-id CONTENT_VIEW_ID content view numeric identifier
    --environment ENVIRONMENT_NAME Name to search by
    --environment-id ENVIRONMENT_ID
    --organization ORGANIZATION_NAME Organization name to search by
    --organization-id ORGANIZATION_ID
    --organization-label ORGANIZATION_LABEL Organization label to search by
    --repository REPOSITORY_NAME  Repository name to search by
    --repository-id REPOSITORY_ID repository ID
    -h, --help                    print help

Comment 1 Partha Aji 2014-08-26 19:20:58 UTC
Created redmine issue http://projects.theforeman.org/issues/7269 from this bug

Comment 2 RHEL Program Management 2014-08-26 19:33:02 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 David Davis 2015-03-24 15:38:32 UTC
This must have been fixed at some point. I think the org parameters were added to resolve a product id. However, it looks like there are no more org params which matches the API.


Note You need to log in before you can comment on or make changes to this bug.