Bug #12651
closed'puppet-module list' command ignore information about organization
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1283173
Description of problem:
Here is description of the command:
hammer puppet-module list --help
Message
"Usage:
hammer puppet-module list [OPTIONS]
Options:
...
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
...
"
It seems these three options do not effect overall flow.
For example:
hammer -v -u name -p pass --output=csv puppet-module list --organization-id="9999999999"
showed me list of puppet modules that I have in the system, not the error
Same result for:
hammer -v -u name -p pass --output=csv puppet-module list --organization="MY_NON_EXISTENT_ORGANIZATION"
And similar result for valid data:
hammer -v -u name -p pass --output=csv puppet-module list --organization-id="1"
Command returned list of all puppet modules, but not the ones assigned for that specific organization
Version-Release number of selected component (if applicable):
It is not specific for 6.1.4, but behavior was analyzed for that version. The issue exists for a long time in the system
How reproducible:
Always
Steps to Reproduce:
1. Use any commands described above
Actual results:
System always show list of all unique puppet modules
Expected results:
System should show an error or correct list of puppet modules
Additional info:
Updated by Dominic Cleal almost 9 years ago
- Project changed from Hammer CLI to Katello
- Category set to Hammer
- Triaged set to No
Updated by Brad Buckingham almost 9 years ago
- Status changed from New to Assigned
Updated by The Foreman Bot almost 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5645 added
Updated by Brad Buckingham over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|2eb8817e6495591402e7075fb44437a651e42e6a.
Updated by Eric Helms over 8 years ago
- Category changed from Hammer to API
- Translation missing: en.field_release set to 86
- Triaged changed from No to Yes
Updated by Eric Helms over 8 years ago
- Has duplicate Bug #12092: unable to filter puppet-module as per repo or org id added