Red Hat Bugzilla – Bug 801786
When running katello-configure --deployment=sam, /etc/headpin/client.conf path value is not updated
Last modified: 2012-04-26 20:19:53 EDT
Description of problem:
Post installation of katello-headpin-all, running katello-configure --deployment=sam does not update /etc/headpin/client.conf causing headpin cli commands to fail.
1. yum install -y katello-headpin-all
2. katello-configure --deployment=sam
# grep path /etc/headpin/client.conf
path = /headpin
path = /sam
Changing this path value to /sam manually allows the headpin cli to function as expected immediately.
Author: Jordan OMara <firstname.lastname@example.org>
AuthorDate: Fri Mar 9 10:13:38 2012 -0500
Commit: Jordan OMara <email@example.com>
CommitDate: Fri Mar 9 10:43:28 2012 -0500
801786 - puppetizing cli client.conf so it respects install URL
Adding Jordan to the list, want to do a remark
Jordan - it is vital to keep all configuration files in their RPM packages. With puppet we overwrite them, but project should be correctly deployed even when katello-configure was not executed. It also gives possibility to uninstall thing or track configuration changes.
I am pushing a change that keeps your puppet template, but returns the default client.conf to the RPM distribution:
5bb7fbb 801786 - putting client.conf back to the RPM
Shouldn't this bug be MODIFIED?
# cat /etc/katello/client.conf
host = localhost.localdomain
port = 443
scheme = https
path = /sam
grep_friendly = false
nohistory = false
prompt = sam>
# rpm -q katello-headpin-all