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: