Project

General

Profile

Bug #27323

`hammer puppet-class info --environment ...` complains: Error: Unrecognised option '--environment'.

Added by Oleh Fedorenko 3 months ago. Updated 3 months ago.

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

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
[...]

Associated revisions

Revision afedf1f3 (diff)
Added by Oleh Fedorenko 3 months ago

Fixes #27323 - Update environments options for puppet context

History

#1 Updated by Oleh Fedorenko 3 months ago

  • Triaged changed from No to Yes
  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#2 Updated by The Foreman Bot 3 months ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/428 added

#3 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases hammer-cli-foreman-0.18.0 added

#4 Updated by Oleh Fedorenko 3 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF