Hide Forgot
We need a script that can assist customers with registration of clients. Currently customers must take a multistep process: https://fedorahosted.org/katello/wiki/GuideSystemRegistrationClient to register a system with is very painful. We can at least automate this with a script. See attached patch that addresses this.
Created attachment 560385 [details] patch with bootstrap script and specfile changes
Pushed the script into our katello git repo for testing in the short term. we can get this as part of the project's RPMs later on if we like it: commit 02e378f19b664c740a3d2c72c4db75f432493a44 Author: Mike McCune <mmccune> Date: Wed Feb 8 13:06:22 2012 -0800 788708 - test script for bootstrapping clients. not for production
Mike I am working on a bootstrap RPM: https://fedorahosted.org/katello/wiki/ConsumerBootstrap That will slighly change the script. It's currently in the "certs" change, I am blocked by some certificates changes Martin Bacovsky is working on. https://bugzilla.redhat.com/show_bug.cgi?id=790835 Once I am done I will modify the bootstrap shell script.
So the bootstrap RPM is ready, do we want to deploy such a shell script in the /var/www/html/pub directory? Would be something like this: https://fedorahosted.org/katello/wiki/ConsumerBootstrap#Examplebootstrapsession
Part of this bug should be to remove /var/www/html/pub/bootstrap dir - it was added by Spacewalk folks. Its a copy of Spacewalk bootstrap (an example). We don't need it.
Since we have a nice bootstrap RPM that configures rhsm, there is no need of a bootstrap script as it would only contain one simple line. Example bootstrap: yum -y install http://kat-alfa.example.com/pub/candlepin-cert-consumer-kat-alfa.example.com-1.0-1.noarch.rpm && subscription-manager register --activationkey=654d6c8aaf7 Pushing upstream removal of old legacy generating code. 6269701 788708 - removing legacy bootstrap script and generator
Needed to move the creation of /var/www/html/pub up a bit higher in the order: commit 1d7ea9ab2fc0d36bf47259f945f90593a77e5e91 Author: Mike McCune <mmccune> Date: Tue Mar 6 17:31:04 2012 -0800 788708 - moving the var/www/html/pub dir creation a bit higher up Previously it was created after it was actually needed.
mass move ON_QA after brewing
Validated: * candlepin-0.5.24-1.el6.noarch * candlepin-tomcat6-0.5.24-1.el6.noarch * katello-0.1.303-1.el6.noarch * katello-all-0.1.303-1.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.0.4-1.el6.noarch * katello-cli-0.1.103-1.el6.noarch * katello-cli-common-0.1.103-1.el6.noarch * katello-common-0.1.303-1.el6.noarch * katello-configure-0.1.106-1.el6.noarch * katello-glue-candlepin-0.1.303-1.el6.noarch * katello-glue-foreman-0.1.303-1.el6.noarch * katello-glue-pulp-0.1.303-1.el6.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-0.1.8-1.el6.noarch * pulp-1.0.0-4.el6.noarch * pulp-common-1.0.0-4.el6.noarch * pulp-selinux-server-1.0.0-4.el6.noarch