Just for your information.

 
I needed to add some proxy rules to /etc/httpd/conf.d/zz-spacewalk-www.conf to 
make pxe boot installs (via spacewalk) work:


# Rewrite rules for kickstart install with subchannels:
RewriteRule ^/ks/dist/child/centos-6.0-base/CentOS-60-Test/(.*)$ 
/ks/dist/CentOS-60-Test/$1
RewriteRule ^/ks/dist/child/centos-6.1-base/CentOS-61-Test/(.*)$ 
/ks/dist/CentOS-61-Test/$1
RewriteRule ^/ks/dist/child/centos-6.2-base/CentOS-62-Test/(.*)$ 
/ks/dist/CentOS-62-Test/$1
 
Probably better rewrite rules are possible to do this, but these work for me. 
(Be aware that CentOS-6x-Test is the label for the channel in my situation). In 
common syntax it would be something llike:

 
RewriteRule ^/ks/dist/child/<Parent channel name>/<Child channel name>/(.*)$ 
/ks/dist/<Child channel name>/$1
 
 
Add these rules prior to rewrite rules regarding /ks/dist/<channel name>.....

 
Rick

-----Oorspronkelijk bericht-----
Aan: [email protected]; 
Van: Edward Perry <[email protected]>
Verzonden: zo 22-01-2012 19:20
Onderwerp: [Spacewalk-list] Best way to manage channels
Bijlage: inline.txt
Than thanks Mark, that makes sense. I was a little gun shy about doing it that 
way but it does make sense.  So I'll give it a shot.  I would rather make a 
mess at home then at work :)




Message: 2
Date: Sat, 21 Jan 2012 19:30:50 +0000
From: Mark Watts <[email protected]>
To: [email protected]
Subject: Re: [Spacewalk-list] Best way to manage channels
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

On 21/01/2012 18:07, Edward Perry wrote:
> Hey folks, got a question which google is not giving me a good answer.
>
> I have just installed and configured Centos6  based on the howto docs
> and then imported the repo.
>
> Now, How is it best to add the updates  6.1  6.2
>
>
> Would it be best to create new channels and re-associate the channel
> with the systems,
>
> Just add the packages to the current channel
>
> Or Other
>
>
> I am looking for best practices for channel management.

Something like this is what I'd use:

CentOS 6 (x64)
\- CentOS 6.1 (x64)
\- CentOS 6.1 - Updates (x64)
\- CentOS 6.2 (x64)
\- CentOS 6.2 - Updates (x64)
\- EPEL for EL6 (x64)
\- My_Custom_Repo (x64)
\- ...

Don't put packages directly in the parent channel, add them to child
channels. This way its simpler to upgrade; just subscribe the systems
you want to the new child channels. When you're done with a major
version, just delete those child channels.

Bear in mind that you should always use signed packages and import the
keys into Spacewalk so you can deploy them via kickstart. This means you
probably want to sort all your channels before you kickstart new
clients. You'll also want to create your own signing key for custom
packages.

Mark.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to