Bug #23722
closedoutput of hammer hostgroup info contains redundant info about operating systems
Description
Description of problem:
hammer -v -u admin -p changeme hostgroup info --id="60"
2018-05-27 16:49:01 - robottelo.ssh - INFO - <<< stdout
Id: 60
Name: 5B6GEF
Title: 5B6GEF
Operating System: jWBpIa 10.5
Network:
Operating system:
Operating System: jWBpIa 10.5
Puppetclasses:
Parameters:
OpenSCAP Proxy:
Content View:
ID:
Name:
Lifecycle Environment:
ID:
Name:
Content Source:
ID:
Name:
Kickstart Repository:
ID:
Name:
The second, structured section is new and started to cause our automation to fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. just assigns some os to a HG and list its details using hammer
Actual results:
multiple sections for OS
Expected results:
only a single OS section.
Possibly loose the first one.
Additional info: