Bug 767603

Summary: katello-configure should generate a rpm containing certs and "default" config file for simplified client setup.
Product: [Retired] Katello Reporter: Eric Sammons <esammons>
Component: InstallerAssignee: Lukas Zapletal <lzap>
Status: CLOSED UPSTREAM QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 1.0CC: bkearney
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
headpin
Last Closed: 2012-03-06 15:18:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eric Sammons 2011-12-14 13:29:00 UTC
Description of problem:
Today once katello-configure runs the server is set up and ready to go; however, there are still a number of steps that must be followed to set up the client (consumer).

On the client:
1. scp $CANDLEPINSERVER:/etc/candlepin/ca/candlepin-ca.crt /etc/rhsm/ca/.
2. cp candlepin-ca.crt candlepin-local.pem
3. Edit /etc/rhsm/rhsm.conf or run subscription-manager config .....

These client steps could be reduced to nothing more than a wget; yum localinstall or rpm -Uhv http://[candlepinserver]/candlepin-consumer.rpm _IF_ katello-configure generated a rpm containing the following files:

- Minimum default rhsm.conf that would leverage SAM+Thumbslug or katello.
- candlepin-ca.crt
- candlepin-local.pem

Comment 1 Lukas Zapletal 2012-01-20 14:31:24 UTC
Yes this is the plan. We will follow the Spacewalk approach here.

Linking to https://bugzilla.redhat.com/show_bug.cgi?id=769888

Comment 2 Lukas Zapletal 2012-03-06 15:18:17 UTC
This was already done:

https://fedorahosted.org/katello/wiki/ConsumerBootstrap