Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1357864 - Hammer : The puppet default field for sc-param matcher is not displayed
Summary: Hammer : The puppet default field for sc-param matcher is not displayed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: orabin
QA Contact: Katello QA List
URL:
Whiteboard:
: 1352502 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-19 12:31 UTC by Jitendra Yejare
Modified: 2019-09-26 14:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16059 0 None None None 2016-08-11 09:47:35 UTC

Description Jitendra Yejare 2016-07-19 12:31:07 UTC
Description of problem:
Hammer is not displaying the puppet default is used for sc-param's matcher or not in 'sc-param info'.

Version-Release number of selected component (if applicable):
Sat 6.2 Snap 20.2 GA

How reproducible:
Always

Steps to Reproduce:
1. Create a matcher for sc-param.
2. Enter some 'value' for matcher and also check puppet default for that matcher.
3. Submit the sc-param.
4. Hammer info that sc-param and its matchers.

Actual results:
It doesnt displays any field for matcher showing whether its using puppet default or not.

Expected results:
hammer info should display both the given value as well as field for puppet default showing true or false.

Additional info:

Comment 2 orabin 2016-08-11 09:47:33 UTC
Created redmine issue http://projects.theforeman.org/issues/16059 from this bug

Comment 3 Bryan Kearney 2016-08-11 10:16:27 UTC
Upstream bug assigned to orabin

Comment 4 Bryan Kearney 2016-08-11 10:16:30 UTC
Upstream bug assigned to orabin

Comment 5 Bryan Kearney 2016-08-18 10:17:04 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/16059 has been closed

Comment 6 orabin 2016-10-05 15:23:36 UTC
*** Bug 1352502 has been marked as a duplicate of this bug. ***

Comment 8 Stanislav Tkachenko 2016-11-02 01:25:59 UTC
Verified on Satellite 6.3.0 Snap 5.0, hammer_cli_foreman 0.8.0

> # hammer -v -u admin -p changeme sc-param info --puppet-class="cli_test_classparameters" --id="3183" | grep default
> Use puppet default: no

> # hammer -v -u admin -p changeme --output=csv sc-param update --override="1" --use-puppet-default="1" --id="3183"               
> Parameter updated,3183
> # hammer -v -u admin -p changeme sc-param info --puppet-class="cli_test_classparameters" --id="3183" | grep default
> Use puppet default: yes

> # hammer -v -u admin -p changeme --output=csv sc-param update --use-puppet-default="0" --id="3183"
> Parameter updated,3183
> # hammer -v -u admin -p changeme sc-param info --puppet-class="cli_test_classparameters" --id="3183" | grep default
> Use puppet default: no

Comment 9 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


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