Project

General

Profile

Actions

Bug #7422

closed

[RFE] Allow --label when creating environments from the CLI

Added by Adam Price almost 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Hammer
Target version:
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=883170
Description of problem:

We don't seem to expose the label attribute for environments from the cli. Could we add that to the allowed attributes when creating environments?

Version-Release number of selected component (if applicable):

  • candlepin-0.7.19-1.el6_3.noarch
  • candlepin-tomcat6-0.7.19-1.el6_3.noarch
  • elasticsearch-0.18.4-11.el6.noarch
  • katello-candlepin-cert-key-pair-1.0-1.noarch
  • katello-certs-tools-1.2.1-1h.el6_3.noarch
  • katello-cli-1.2.4-3h.el6_3.noarch
  • katello-cli-common-1.2.4-3h.el6_3.noarch
  • katello-common-1.2.6-3h.el6_3.noarch
  • katello-configure-1.2.3-1h.el6_3.noarch
  • katello-glue-candlepin-1.2.6-3h.el6_3.noarch
  • katello-headpin-1.2.6-3h.el6_3.noarch
  • katello-headpin-all-1.2.6-3h.el6_3.noarch
  • katello-selinux-1.2.1-1h.el6_3.noarch
  • thumbslug-0.0.27-1.el6_3.noarch
  • thumbslug-selinux-0.0.27-1.el6_3.noarch

How reproducible:

Steps to Reproduce:
1. headpin -u <username> -p <password> org create --name FOO
2. headpin -u <username> -p <password> environment create --org FOO --name BAR --prior Library
3.

Actual results:

Expected results:

I should be able to specify what the label should be for an environment:

1. headpin -u <username> -p <password> org create --name FOO
2. headpin -u <username> -p <password> environment create --org FOO --name BAR --label BAZ --prior Library

Additional info:

Actions #1

Updated by Eric Helms almost 10 years ago

  • Difficulty set to easy
  • Triaged changed from No to Yes
Actions #2

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 56
  • Pull request https://github.com/Katello/katello/pull/4665 added
  • Pull request deleted ()
Actions #3

Updated by Anonymous almost 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release set to 14
Actions

Also available in: Atom PDF