Project

General

Profile

Actions

Bug #27323

closed

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

Added by Oleh Fedorenko almost 5 years ago. Updated almost 5 years ago.

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

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

Actions

Also available in: Atom PDF