Bug #27323
closed`hammer puppet-class info --environment ...` complains: Error: Unrecognised option '--environment'.
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1730400
Description of problem:
`hammer puppet-class info --environment ...` complains: Error: Unrecognised option '--environment'.
Version-Release number of selected component (if applicable):
tfm-rubygem-hammer_cli-0.17.1-2.el7sat.noarch
tfm-rubygem-hammer_cli_foreman-0.17.0.3-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.18.0.2-1.el7sat.noarch
satellite-6.6.0-5.beta.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. # hammer puppet-class info --puppet-environment production --name access_insights_client
2. # hammer puppet-class info --environment production --name access_insights_client
Actual results:
First command works fine, but:
[root@satellite ~]# hammer puppet-class info --environment production --name access_insights_client
Error: Unrecognised option '--environment'.
See: 'hammer puppet-class info --help'.
Expected results:
[root@satellite ~]# hammer puppet-class info --environment production --name access_insights_client
Id: 2
Name: access_insights_client
[...]
Updated by Oleh Fedorenko over 5 years ago
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Triaged changed from No to Yes
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/428 added
Updated by The Foreman Bot over 5 years ago
- Fixed in Releases hammer-cli-foreman-0.18.0 added
Updated by Oleh Fedorenko over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|afedf1f357d5e08b0651c9b8e3e42a0656a9f4a2.