<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebAccess v7.0.1-28479">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>RE: [Spacewalk-list]  Best way to manage channels</title>
  <style type="text/css">
      body
      {
        font-family: Arial, Verdana, Sans-Serif ! important;
        font-size: 12px;
        padding: 5px 5px 5px 5px;
        margin: 0px;
        border-style: none;
        background-color: #ffffff;
      }

      p, ul, li
      {
        margin-top: 0px;
        margin-bottom: 0px;
      }
  </style>
</head>
<body>
<p>Just for your information.</p><p> </p><p>I needed to add some proxy rules to /etc/httpd/conf.d/zz-spacewalk-www.conf to make pxe boot installs (via spacewalk) work:</p><p><br /># Rewrite rules for kickstart install with subchannels:<br />RewriteRule ^/ks/dist/child/centos-6.0-base/CentOS-60-Test/(.*)$ /ks/dist/CentOS-60-Test/$1<br />RewriteRule ^/ks/dist/child/centos-6.1-base/CentOS-61-Test/(.*)$ /ks/dist/CentOS-61-Test/$1<br />RewriteRule ^/ks/dist/child/centos-6.2-base/CentOS-62-Test/(.*)$ /ks/dist/CentOS-62-Test/$1<br /> </p><p>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:</p><p> </p><p>RewriteRule ^/ks/dist/child/<Parent channel name>/<Child channel name>/(.*)$ /ks/dist/<Child channel name>/$1<br /> </p><p> </p><p>Add these rules prior to rewrite rules regarding /ks/dist/<channel name>.....</p><p> </p><p>Rick</p><blockquote style="border-left: #325fba 2px solid; padding-left: 5px; margin-left: 5px">-----Oorspronkelijk bericht-----<br /><strong>Aan:</strong> spacewalk-list@redhat.com; <br /><strong>Van:</strong> Edward Perry <edwardperry1@gmail.com><br /><strong>Verzonden:</strong> zo 22-01-2012 19:20<br /><strong>Onderwerp:</strong> [Spacewalk-list] Best way to manage channels<br /><strong>Bijlage:</strong> inline.txt<br /><style type="text/css">body { font-family: monospace; }</style><div><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">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 :)</span></div><div><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"><br /></span></div><div><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"><br /></span></div><div><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"><br /></span></div><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"><div><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"><br /></span></div>Message: 2</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Date: Sat, 21 Jan 2012 19:30:50 +0000</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">From: Mark Watts <</span><a title="Deze link naar een extern object zal in een nieuw venster worden geopend" target="_blank" onclick="parent.webclient.openWindow(this, 'createmail', 'index.php?load=dialog&task=createmail_standard&to=m.watts@linux-corner.info'); return false;" style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(61,84,89); font-size: 13px" href="mailto:m.watts@linux-corner.info">m.watts@linux-corner.info</a><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">To</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">: </span><a title="Deze link naar een extern object zal in een nieuw venster worden geopend" target="_blank" onclick="parent.webclient.openWindow(this, 'createmail', 'index.php?load=dialog&task=createmail_standard&to=spacewalk-list@redhat.com'); return false;" style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(61,84,89); font-size: 13px" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Subject: Re: [Spacewalk-list] </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">Best</span> <span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">way</span> <span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span> <span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">manage</span> <span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">channels</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Message-ID: <</span><a title="Deze link naar een extern object zal in een nieuw venster worden geopend" target="_blank" onclick="parent.webclient.openWindow(this, 'createmail', 'index.php?load=dialog&task=createmail_standard&to=4F1B126A.4040100@linux-corner.info'); return false;" style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(61,84,89); font-size: 13px" href="mailto:4F1B126A.4040100@linux-corner.info">4F1B126A.4040100@linux-corner.info</a><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Content-Type: text/plain; charset=ISO-8859-1; format=flowed</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">On 21/01/2012 18:07, Edward Perry wrote:</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> Hey folks, got a question which google is not giving me a good answer.</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> I have just installed and configured Centos6  based on the howto docs</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> and then imported the repo.</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> Now, How is it </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">best</span> <span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> add the updates  6.1  6.2</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> Would it be </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">best</span> <span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> create new </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">channels</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> and re-associate the channel</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> with the systems,</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> Just add the packages </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> the current channel</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> Or Other</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">></span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">> I am looking for </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">best</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> practices for channel management.</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Something like this is what I'd use:</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">CentOS 6 (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- CentOS 6.1 (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- CentOS 6.1 - Updates (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- CentOS 6.2 (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- CentOS 6.2 - Updates (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- EPEL for EL6 (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- My_Custom_Repo (x64)</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">\- ...</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Don't put packages directly in the parent channel, add them </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> child</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">channels</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">. This </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">way</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> its simpler </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> upgrade; just subscribe the systems</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">you want </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> the new child </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">channels</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">. When you're done with a major</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">version, just delete those child </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">channels</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">.</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Bear in mind that you should always use signed packages and import the</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">keys into Spacewalk so you can deploy them via kickstart. This means you</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">probably want </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> sort all your </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">channels</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> before you kickstart new</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">clients. You'll also want </span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(34,34,34); font-size: 13px">to</span><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px"> create your own signing key for custom</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">packages.</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /><span style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px">Mark.</span><br style="background-color: rgb(255,255,255); font-family: arial, sans-serif; color: rgb(51,51,51); font-size: 13px" /></blockquote>
</body>
</html>