Bug 1332182 - [RFE] Hammer sc-param update should enable for easier override order setting
Summary: [RFE] Hammer sc-param update should enable for easier override order setting
Keywords:
Status: CLOSED DUPLICATE of bug 1328613
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 12:51 UTC by Tomas Strachota
Modified: 2016-10-31 14:30 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-10-31 14:30:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Tomas Strachota 2016-05-02 12:51:48 UTC
Description of problem:

It's not very easy to update override order via `hammer sc-param update`. Hammer handles --override-value-order as a simple string parameter. That complicates passing newlines, which are primary delimiters for override order items.

Users currently need to use ugly constructions like:

hammer sc-param update --id 129 --override true --override-value-order "$(echo -e "fqdn\nlifecycle_environment,hostgroup")"

Hammer should provide simpler way of updating that field. One of options is using json format:

--override-value-order="['fqdn', 'lifecycle_environment,hostgroup']"

Comment 1 orabin 2016-10-31 14:30:22 UTC

*** This bug has been marked as a duplicate of bug 1328613 ***


Note You need to log in before you can comment on or make changes to this bug.