Project

General

Profile

Actions

Bug #5017

closed

Support repo set commands using Product and repo name

Added by Justin Sherrill about 11 years ago. Updated almost 7 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

Also available in: Atom PDF