<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-7"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">You use the </font>spacewalk-repo-sync on your
scripts (if for some reasong you still prefer the good old method). <br>
Else you go through the WebUI to you Channels -> Manage Software
Channels -> "Choose your channel" and<br>
in there you will find a new section "Associated Yum Repository" where
you enter the repository url, the channel label<br>
and you check the option "sync repo". <br>
<br>
Hope this helps.<br>
<br>
<br>
On 17/12/2009 11:11 ðì, Michiel van Es wrote:
<blockquote cite="mid:4B29F5C7.5020201@info.nl" type="cite">Hi,
  <br>
  <br>
hahah yes that was stupid from me, but it is the old server which is
deprecated and not available through the internet ;)
  <br>
I read you can use:
  <br>
  <br>
'In Spacewalk 0.7 you can use new tool spacewalk-repo-sync instead of
  <br>
reposync + rhnpush:
  <br>
  <br>
spacewalk-repo-sync -c centos5 --url
<a class="moz-txt-link-freetext" href="http://isoredirect.centos.org/centos/5/os/i386/">http://isoredirect.centos.org/centos/5/os/i386/</a> --type=yum --label
centos5
  <br>
'
  <br>
  <br>
How are you doing it through taskomatic?
  <br>
  <br>
-------- Original Message --------
  <br>
Subject: Re: [Spacewalk-list] question about new spacewalk 0.7 setup
  <br>
From: Alexandros Soumplis <a class="moz-txt-link-rfc2396E" href="mailto:soumplis@ekt.gr"><soumplis@ekt.gr></a>
  <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:spacewalk-list@redhat.com"><spacewalk-list@redhat.com></a>
  <br>
Date: 12/17/2009 10:06 AM
  <br>
  <br>
  <blockquote type="cite">Hello!
    <br>
    <br>
AFAIK at least from version 0.6 you do not have to run a seperate
    <br>
reposync script. You can synchronize your repos through the WebUI by
    <br>
scheduling a taskomatic task.
    <br>
    <br>
Alexandros
    <br>
    <br>
P.S Maybe you should change you rhnpush password as you've exposed it
to
    <br>
the Internet :-)
    <br>
    <br>
    <br>
On 17/12/2009 10:52 ðì, Michiel van Es wrote:
    <br>
    <blockquote type="cite">ANYONE? ;)
      <br>
      <br>
Kind regards,
      <br>
      <br>
Michiel
      <br>
      <br>
-------- Original Message --------
      <br>
Subject: [Spacewalk-list] question about new spacewalk 0.7 setup
      <br>
From: Michiel van Es <a class="moz-txt-link-rfc2396E" href="mailto:michiele@info.nl"><michiele@info.nl></a>
      <br>
To: <a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list@redhat.com">spacewalk-list@redhat.com</a> <a class="moz-txt-link-rfc2396E" href="mailto:spacewalk-list@redhat.com"><spacewalk-list@redhat.com></a>
      <br>
Date: 12/16/2009 01:42 PM
      <br>
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
We installed a new spacewalk 0.7 server.
        <br>
We want to move from an old 0.3 upgraded to 0.6 spacewalk server to
this
        <br>
new 0.7 server.
        <br>
        <br>
I want to review my reposync script to pull the yum packages and the
        <br>
rhnpush scripts I use.
        <br>
        <br>
For reposync I use:
        <br>
        <br>
### Updates for Centos 4
        <br>
echo "Starting a reposync for CentOS4_updates at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -c /etc/yum.repos.d/reposync_repo/CentOS4.repo -n -p
        <br>
$REPODIR/CentOS4 --repoid=CentOS4-updates
        <br>
        <br>
echo "Starting a reposync for CentOS4_centosplus at `date`">>
        <br>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -c /etc/yum.repos.d/reposync_repo/CentOS4.repo -n -p
        <br>
$REPODIR/CentOS4 --repoid=CentOS4-centosplus
        <br>
        <br>
echo "Starting a reposync for CentOS4_base at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -c /etc/yum.repos.d/reposync_repo/CentOS4.repo -n -p
        <br>
$REPODIR/CentOS4 --repoid=CentOS4-base
        <br>
        <br>
echo "Starting a reposync for CentOS4_centosplus at `date`">>
        <br>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -c /etc/yum.repos.d/reposync_repo/CentOS4.repo -n -p
        <br>
$REPODIR/CentOS4 --repoid=CentOS4-extras
        <br>
        <br>
echo "Starting a reposync for epel CentOS 4 at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -c /etc/yum.repos.d/reposync_repo/epel4.repo -n -p
        <br>
$REPODIR/EPEL4REPO --repoid=epel4
        <br>
        <br>
########## CentOS 5
        <br>
        <br>
echo "Starting a reposync for CentOS5 base at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -n -p $REPODIR/CentOS5 --repoid=base
        <br>
        <br>
echo "Starting a reposync for CentOS5 addons at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -n -p $REPODIR/CentOS5 --repoid=addons
        <br>
        <br>
echo "Starting a reposync for CentOS5 extras at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -n -p $REPODIR/CentOS5 --repoid=extras
        <br>
        <br>
echo "Starting a reposync for CentOS5 updates at `date`">>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -n -p $REPODIR/CentOS5 --repoid=updates
        <br>
#
        <br>
### extra 32 bit repo's
        <br>
#
        <br>
echo "Starting a reposync for RPMForge CentOS 5 at `date`">>
        <br>
$REPOSYNCLOG
        <br>
echo "">> $REPOSYNCLOG
        <br>
reposync -c /etc/yum.repos.d/reposync_repo/rpmforge5.repo -n -p
        <br>
$REPODIR/RPMFORGE5 --repoid=rpmforge5
        <br>
        <br>
echo "Starting the rhnpush now">> $REPOSYNCLOG
        <br>
/root/scripts/rhnpush.sh
        <br>
        <br>
        <br>
        <br>
For rhnpush I use:
        <br>
        <br>
####################################
        <br>
RHNPUSHLOG="/var/log/rhnpush.log"
        <br>
REPODIR="/repodata/repositories"
        <br>
        <br>
### Updates for Centos 5
        <br>
echo "Starting a reposync for CentOS5_base at `date`">>
$RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=centos5 --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/CentOS5/base/CentOS/
        <br>
        <br>
echo "Starting a reposync for CentOS5_addons at `date`">>
$RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=centos5 --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/CentOS5/addons/CentOS/
        <br>
        <br>
echo "Starting a reposync for CentOS5_extras at `date`">>
$RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=centos5 --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/CentOS5/extras/RPMS/
        <br>
        <br>
echo "Starting a reposync for CentOS5_updates at `date`">>
$RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=centos5 --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/CentOS5/updates/RPMS/
        <br>
        <br>
echo "Starting a reposync for RPMFORGE5 at `date`">> $RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=rpmforge5 --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/RPMFORGE5/rpmforge5/RPMS/
        <br>
        <br>
echo "Starting a reposync for RPMFORGE4 at `date`">> $RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=rpmforge4 --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/RPMFORGE4/rpmforge4/RPMS/
        <br>
        <br>
echo "Starting a reposync for EPEL FOR CENTOS5 at `date`">>
$RHNPUSHLOG
        <br>
echo "">> $RHNPUSHLOG
        <br>
rhnpush --force --tolerant --username=upadmin --password=upload007
        <br>
--channel=epelrepo --server=<a class="moz-txt-link-freetext" href="http://localhost/APP">http://localhost/APP</a>
        <br>
--dir=$REPODIR/EPELREPO/epel/
        <br>
        <br>
        <br>
Are these the correct methods to pull the yum repo's and push them
(with
        <br>
force!) in the Spacewalk server?
        <br>
        <br>
I would like to share your thought on my scripts and methods..:)
        <br>
        <br>
Kind regards,
        <br>
        <br>
Michiel
        <br>
        <br>
_______________________________________________
        <br>
Spacewalk-list mailing list
        <br>
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
        <br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a>
        <br>
      </blockquote>
      <br>
_______________________________________________
      <br>
Spacewalk-list mailing list
      <br>
<a class="moz-txt-link-abbreviated" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a>
      <br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a>
      <br>
    </blockquote>
    <br>
--
    <br>
Soumplis Alexandros
    <br>
Systems Engineer
    <br>
National Documentation Center /N.H.R.F.
    <br>
Information Systems Department
    <br>
48, Vas. Constantinou Av.
    <br>
116 35 Athens, Greece
    <br>
phone:+30 210 7273984  fax:+30 210 7252223
    <br>
<a class="moz-txt-link-abbreviated" href="mailto:email:soumplis@ekt.gr">email:soumplis@ekt.gr</a>
    <br>
<a class="moz-txt-link-freetext" href="http://www.ekt.gr">http://www.ekt.gr</a>
    <br>
    <br>
    <br>
--------------------------------------------------------------------
    <br>
This email is digitally signed by EKT in order to ensure its
    <br>
integrity and authenticity. EKT participates in the HARICA Public
    <br>
Key Infrastructure, the Certification Authority of GRNET. You can
    <br>
install the HARICA root certificate athttp://www.harica.gr/trust.php
    <br>
---------------------------------------------------------------------
    <br>
    <br>
  </blockquote>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Soumplis Alexandros
Systems Engineer
National Documentation Center /N.H.R.F.
Information Systems Department
48, Vas. Constantinou Av.
116 35 Athens, Greece
phone: +30 210 7273984  fax: +30 210 7252223
email: <a class="moz-txt-link-abbreviated" href="mailto:soumplis@ekt.gr">soumplis@ekt.gr</a>
<a class="moz-txt-link-freetext" href="http://www.ekt.gr">http://www.ekt.gr</a>


--------------------------------------------------------------------
This email is digitally signed by EKT in order to ensure its
integrity and authenticity. EKT participates in the HARICA Public
Key Infrastructure, the Certification Authority of GRNET. You can
install the HARICA root certificate at <a class="moz-txt-link-freetext" href="http://www.harica.gr/trust.php">http://www.harica.gr/trust.php</a>
---------------------------------------------------------------------</pre>
</body>
</html>