Project

General

Profile

Actions

Bug #5017

closed

Support repo set commands using Product and repo name

Added by Justin Sherrill about 10 years ago. Updated almost 6 years ago.

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

Description

The previous katello cli made it pretty easy to enable repos by product and repo name. Now you have to specify ID which is not nearly as scriptable.

I want something like:
fr
hammer repository-set list --product="Red Hat Enterprise Linux" --organization-id=ACME_Corporation
hammer repository-set enable --product="Red Hat Enterprise Linux" --organization-id=ACME_Corporation --repo-set='Red Hat Enterprise Linux 6 Server (RPMs)'

right now you would have to script some grepping and awking to script it. It is very unfriendly

also repository-set list right now returns a csv list which seems odd...

Actions #1

Updated by Eric Helms almost 10 years ago

  • Category set to Hammer
  • Triaged changed from No to Yes
Actions #2

Updated by Justin Sherrill almost 10 years ago

  • Status changed from New to Closed

This is now resolved.

Actions #3

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF