Bug 1265812

Summary: Incorrect hammer command to add content to a capsule server
Product: Red Hat Satellite Reporter: vdhande
Component: Docs User GuideAssignee: Russell Dickenson <rdickens>
Status: CLOSED CURRENTRELEASE QA Contact: David O'Brien <daobrien>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: hhudgeon, vdhande
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-17 17:31:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vdhande 2015-09-23 20:13:10 UTC
Document URL: 
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.1/html-single/User_Guide/index.html#sect-Red_Hat_Satellite-User_Guide-Adding_Life_Cycle_Environments_to_a_Red_Hat_Satellite_Capsule_Server

Section Number and Name: 
15.6. ADDING LIFE CYCLE ENVIRONMENTS TO A RED HAT SATELLITE CAPSULE SERVER

Describe the issue: 


Add the life cycle environment to the Satellite Capsule Server is defined wrongly,
====
# hammer capsule content add-lifecycle-environment --id capsule_id_number --lifecycle-environment-id environment_id_number
====

Suggestions for improvement: 
--lifecycle-environment-id is the Unrecognized option to add the life cycle environment to the Satellite Capsule Server. It should be "environment-id"

Comment 1 Hayley Hudgeons 2015-10-09 19:01:17 UTC
Verified by looking at hammer --help on a 6.1 satellite:

# hammer capsule content add-lifecycle-environment --help
Usage:
    hammer capsule content add-lifecycle-environment [OPTIONS]

Options:
 --environment ENVIRONMENT_NAME  Name to search by  <-----
 --environment-id ENVIRONMENT_ID  
 --id ID                         Id of the capsule
 --name NAME                     Name to search by
 -h, --help                      print help

Comment 7 David O'Brien 2015-10-22 06:06:19 UTC
"lifecycle-environment-id" appears to no longer exist in the doc.