[katello-devel] Consumer and goferd

Justin Sherrill jsherril at redhat.com
Wed Aug 22 16:46:40 UTC 2012


On 08/22/2012 08:42 AM, Lukas Zapletal wrote:
> Hello,
>
> I noticed when we install katello-cert-consumer bootstrap RPM which
> deploys Katello server certificate (also used for Katello Agent), it
> does not restart goferd when it is not running. It only restarts it when
> it is running.
>
> Now, I wonder if we want to keep this. Because then the client bootstrap
> process is missing one step - by default goferd is turned off and not
> started (after provisioning).
>
> Currently, to write correct bootstrap script that can be used to
> provision systems, you need several actions:
>
> * Make sure a time synchronizer is installed and enabled on a provisioned
>    system
> * Install all Katello client components (*)
> * Configure the client (using RPM bootstrap package preferably)
> * Register the client (with activation keys preferably)
> * Optionally subscribe to repositories (when immediate content consumption
>    is necessary)
>
> (*) - these steps are not necessary for RHEL systems, albeit this does
> not apply to RHEL clones.
>
> I found we are missing one another step:
>
> * Make sure goferd daemon is started to use Katello Agent
>
> It looks like a decent amount of work to bootstrap a system now. Isn't
> a time to start a bootstrap script that would be distributed in the
> /pub/html directory (maybe as an example too)?
>
Any disadvantages to putting that script in the bootstrap rpm and having 
the user running it versus downloading a script from /pub/ and running 
that (in addition to installing the bootstrap rpm).  I always felt the 
script in /pub was kinda hacky (although it got the job done).

+1 to a script vs %post regardless.
-Justin




More information about the katello-devel mailing list