« Deploy/SpaceWalk/Upload » : différence entre les versions
Aucun résumé des modifications |
|||
| Ligne 31 : | Ligne 31 : | ||
{{Spacewalk/channel |name=CentOS 5 Rpmforge - i386 |label=centos5-rpmforge-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 Rpmforge for i386 architecture |gpgurl=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt |gpgid=6B8D79E6 |gpgfingerprint=EBC6 E12C 62B1 C734 026B 2122 A20E 5214 6B8D 79E6 }} | {{Spacewalk/channel |name=CentOS 5 Rpmforge - i386 |label=centos5-rpmforge-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 Rpmforge for i386 architecture |gpgurl=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt |gpgid=6B8D79E6 |gpgfingerprint=EBC6 E12C 62B1 C734 026B 2122 A20E 5214 6B8D 79E6 }} | ||
{{Spacewalk/channel |name=CentOS 5 EPEL - i386 |label=centos5-epel-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 EPEL for i386 architecture |gpgurl=https://fedoraproject.org/static/217521F6.txt |gpgid=217521F6 |gpgfingerprint=B940 BE07 7D71 0A28 7D7F 2DD1 119C C036 2175 21F6 }} | {{Spacewalk/channel |name=CentOS 5 EPEL - i386 |label=centos5-epel-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 EPEL for i386 architecture |gpgurl=https://fedoraproject.org/static/217521F6.txt |gpgid=217521F6 |gpgfingerprint=B940 BE07 7D71 0A28 7D7F 2DD1 119C C036 2175 21F6 }} | ||
{{Spacewalk/channel |name=CentOS 5 B2PWeb - i386 |label=centos5-b2pweb-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 B2PWeb for i386 architecture }} | {{Spacewalk/channel |name=CentOS 5 B2PWeb - i386 |label=centos5-b2pweb-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 B2PWeb for i386 architecture |gpgurl=http://koji.b2pweb.com/repos/centos/RPM-B2PWEB-GPG-KEY-CentOS-5|gpgid=773DF357 |gpgfingerprint=B4B9 AE7F 090A 2B1B A9C0 085C 0DEC B52E 773D F357 }} | ||
{{Spacewalk/channel |name=CentOS 5 Percona - i386 |label=centos5-percona-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 Percona for i386 architecture |gpgurl=http://www.percona.com/downloads/RPM-GPG-KEY-percona|gpgid=CD2EFD2A |gpgfingerprint=430B DF5C 56E7 C94E 848E E60C 1C4C BDCD CD2E FD2A }} | |||
{{Spacewalk/channel |name=CentOS 5 Spacewalk Client - i386 |label=centos5-spacewalkclient-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 Spacewalk Client for i386 architecture |gpgurl=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012|gpgid=863A853D |gpgfingerprint=8F85 8A91 03E3 3965 6BE9 64D0 0E64 6F68 863A 853D }} | |||
{{Spacewalk/channel |name=CentOS 5 VBox - i386 |label=centos5-vbox-i386 |parent=CentOS 5 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 5 VBox for i386 architecture |gpgurl=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|gpgid=98AB5139 |gpgfingerprint=7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 }} | |||
==== Channels pour CentOS 5 64 bits ==== | ==== Channels pour CentOS 5 64 bits ==== | ||
| Ligne 38 : | Ligne 41 : | ||
{{Spacewalk/channel |name=CentOS 5 Rpmforge - x86_64 |label=centos5-rpmforge-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 Rpmforge for x86_64 architecture |gpgurl=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt |gpgid=6B8D79E6 |gpgfingerprint=EBC6 E12C 62B1 C734 026B 2122 A20E 5214 6B8D 79E6 }} | {{Spacewalk/channel |name=CentOS 5 Rpmforge - x86_64 |label=centos5-rpmforge-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 Rpmforge for x86_64 architecture |gpgurl=http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt |gpgid=6B8D79E6 |gpgfingerprint=EBC6 E12C 62B1 C734 026B 2122 A20E 5214 6B8D 79E6 }} | ||
{{Spacewalk/channel |name=CentOS 5 EPEL - x86_64 |label=centos5-epel-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 EPEL for x86_64 architecture |gpgurl=https://fedoraproject.org/static/217521F6.txt |gpgid=217521F6 |gpgfingerprint=B940 BE07 7D71 0A28 7D7F 2DD1 119C C036 2175 21F6 }} | {{Spacewalk/channel |name=CentOS 5 EPEL - x86_64 |label=centos5-epel-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 EPEL for x86_64 architecture |gpgurl=https://fedoraproject.org/static/217521F6.txt |gpgid=217521F6 |gpgfingerprint=B940 BE07 7D71 0A28 7D7F 2DD1 119C C036 2175 21F6 }} | ||
{{Spacewalk/channel |name=CentOS 5 B2PWeb - x86_64 |label=centos5-b2pweb-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 B2PWeb for x86_64 architecture }} | {{Spacewalk/channel |name=CentOS 5 B2PWeb - x86_64 |label=centos5-b2pweb-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 B2PWeb for x86_64 architecture |gpgurl=http://koji.b2pweb.com/repos/centos/RPM-B2PWEB-GPG-KEY-CentOS-5|gpgid=773DF357 |gpgfingerprint=B4B9 AE7F 090A 2B1B A9C0 085C 0DEC B52E 773D F357 }} | ||
{{Spacewalk/channel |name=CentOS 5 Percona - x86_64 |label=centos5-percona-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 Percona for x86_64 architecture |gpgurl=http://www.percona.com/downloads/RPM-GPG-KEY-percona|gpgid=CD2EFD2A |gpgfingerprint=430B DF5C 56E7 C94E 848E E60C 1C4C BDCD CD2E FD2A }} | |||
{{Spacewalk/channel |name=CentOS 5 Spacewalk Client - x86_64 |label=centos5-spacewalkclient-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 Spacewalk Client for x86_64 architecture |gpgurl=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012|gpgid=863A853D |gpgfingerprint=8F85 8A91 03E3 3965 6BE9 64D0 0E64 6F68 863A 853D }} | |||
{{Spacewalk/channel |name=CentOS 5 VBox - x86_64 |label=centos5-vbox-x86_64 |parent=CentOS 5 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 5 VBox for x86_64 architecture |gpgurl=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|gpgid=98AB5139 |gpgfingerprint=7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 }} | |||
==== Channels pour CentOS 6 32 bits ==== | ==== Channels pour CentOS 6 32 bits ==== | ||
| Ligne 44 : | Ligne 50 : | ||
{{Spacewalk/channel |name=CentOS 6 Updates - i386 |label=centos6-updates-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 Updates for i386 architecture |gpgurl=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 |gpgid=C105B9DE |gpgfingerprint=C1DA C52D 1664 E8A4 386D BA43 0946 FCA2 C105 B9DE }} | {{Spacewalk/channel |name=CentOS 6 Updates - i386 |label=centos6-updates-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 Updates for i386 architecture |gpgurl=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 |gpgid=C105B9DE |gpgfingerprint=C1DA C52D 1664 E8A4 386D BA43 0946 FCA2 C105 B9DE }} | ||
{{Spacewalk/channel |name=CentOS 6 EPEL - i386 |label=centos6-epel-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 EPEL for i386 architecture |gpgurl=https://fedoraproject.org/static/0608B895.txt |gpgid=0608B895 |gpgfingerprint=8C3B E96A F230 9184 DA5C 0DAE 3B49 DF2A 0608 B895 }} | {{Spacewalk/channel |name=CentOS 6 EPEL - i386 |label=centos6-epel-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 EPEL for i386 architecture |gpgurl=https://fedoraproject.org/static/0608B895.txt |gpgid=0608B895 |gpgfingerprint=8C3B E96A F230 9184 DA5C 0DAE 3B49 DF2A 0608 B895 }} | ||
{{Spacewalk/channel |name=CentOS 6 B2PWeb - i386 |label=centos6-b2pweb-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 B2PWeb for i386 architecture }} | {{Spacewalk/channel |name=CentOS 6 B2PWeb - i386 |label=centos6-b2pweb-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 B2PWeb for i386 architecture |gpgurl=http://koji.b2pweb.com/repos/centos/RPM-B2PWEB-GPG-KEY-CentOS-6|gpgid=D3F3C56A |gpgfingerprint=DA17 B7EC DA20 9134 5A74 AB6E 53AF 61F5 D3F3 C56A }} | ||
{{Spacewalk/channel |name=CentOS 6 Percona - i386 |label=centos6-percona-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 Percona for i386 architecture |gpgurl=http://www.percona.com/downloads/RPM-GPG-KEY-percona|gpgid=CD2EFD2A |gpgfingerprint=430B DF5C 56E7 C94E 848E E60C 1C4C BDCD CD2E FD2A }} | |||
{{Spacewalk/channel |name=CentOS 6 Spacewalk Client - i386 |label=centos6-spacewalkclient-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 Spacewalk Client for i386 architecture |gpgurl=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012|gpgid=863A853D |gpgfingerprint=8F85 8A91 03E3 3965 6BE9 64D0 0E64 6F68 863A 853D }} | |||
{{Spacewalk/channel |name=CentOS 6 VBox - i386 |label=centos6-vbox-i386 |parent=CentOS 6 Base - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 VBox for i386 architecture |gpgurl=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|gpgid=98AB5139 |gpgfingerprint=7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 }} | |||
{{Spacewalk/channel |name=CentOS 6 JPackage - i386 |label=centos6-jpackage-i386 |parent=CentOS 6 JPackage - i386 |arch=IA-32 |checksum=sha1 |summary=CentOS 6 JPackage for i386 architecture |gpgurl=http://www.jpackage.org/jpackage.asc|gpgid=C431416D |gpgfingerprint=1F81 C0FB C2B8 22B3 DE12 33A4 5C6C FFF7 C431 416D }} | |||
==== Channels pour CentOS 6 64 bits ==== | ==== Channels pour CentOS 6 64 bits ==== | ||
| Ligne 50 : | Ligne 60 : | ||
{{Spacewalk/channel |name=CentOS 6 Updates - x86_64 |label=centos6-updates-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 Updates for x86_64 architecture |gpgurl=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 |gpgid=C105B9DE |gpgfingerprint=C1DA C52D 1664 E8A4 386D BA43 0946 FCA2 C105 B9DE }} | {{Spacewalk/channel |name=CentOS 6 Updates - x86_64 |label=centos6-updates-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 Updates for x86_64 architecture |gpgurl=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6 |gpgid=C105B9DE |gpgfingerprint=C1DA C52D 1664 E8A4 386D BA43 0946 FCA2 C105 B9DE }} | ||
{{Spacewalk/channel |name=CentOS 6 EPEL - x86_64 |label=centos6-epel-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 EPEL for x86_64 architecture |gpgurl=https://fedoraproject.org/static/0608B895.txt |gpgid=0608B895 |gpgfingerprint=8C3B E96A F230 9184 DA5C 0DAE 3B49 DF2A 0608 B895 }} | {{Spacewalk/channel |name=CentOS 6 EPEL - x86_64 |label=centos6-epel-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 EPEL for x86_64 architecture |gpgurl=https://fedoraproject.org/static/0608B895.txt |gpgid=0608B895 |gpgfingerprint=8C3B E96A F230 9184 DA5C 0DAE 3B49 DF2A 0608 B895 }} | ||
{{Spacewalk/channel |name=CentOS 6 B2PWeb - x86_64 |label=centos6-b2pweb-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 B2PWeb for x86_64 architecture }} | {{Spacewalk/channel |name=CentOS 6 B2PWeb - x86_64 |label=centos6-b2pweb-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 B2PWeb for x86_64 architecture |gpgurl=http://koji.b2pweb.com/repos/centos/RPM-B2PWEB-GPG-KEY-CentOS-6|gpgid=D3F3C56A |gpgfingerprint=DA17 B7EC DA20 9134 5A74 AB6E 53AF 61F5 D3F3 C56A }} | ||
{{Spacewalk/channel |name=CentOS 6 Percona - x86_64 |label=centos6-percona-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 Percona for x86_64 architecture |gpgurl=http://www.percona.com/downloads/RPM-GPG-KEY-percona|gpgid=CD2EFD2A |gpgfingerprint=430B DF5C 56E7 C94E 848E E60C 1C4C BDCD CD2E FD2A }} | |||
{{Spacewalk/channel |name=CentOS 6 Spacewalk Client - x86_64 |label=centos6-spacewalkclient-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 Spacewalk Client for x86_64 architecture |gpgurl=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012|gpgid=863A853D |gpgfingerprint=8F85 8A91 03E3 3965 6BE9 64D0 0E64 6F68 863A 853D }} | |||
{{Spacewalk/channel |name=CentOS 6 VBox - x86_64 |label=centos6-vbox-x86_64 |parent=CentOS 6 Base - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 VBox for x86_64 architecture |gpgurl=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc|gpgid=98AB5139 |gpgfingerprint=7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 }} | |||
{{Spacewalk/channel |name=CentOS 6 JPackage - x86_64 |label=centos6-jpackage-x86_64 |parent=CentOS 6 JPackage - x86_64 |arch=x86_64 |checksum=sha1 |summary=CentOS 6 JPackage for x86_64 architecture |gpgurl=http://www.jpackage.org/jpackage.asc|gpgid=C431416D |gpgfingerprint=1F81 C0FB C2B8 22B3 DE12 33A4 5C6C FFF7 C431 416D }} | |||
=== Création via <app>spacewalk-common-channels</app> === | === Création via <app>spacewalk-common-channels</app> === | ||
| Ligne 114 : | Ligne 128 : | ||
{{Spacewalk/repo|name=centos5-updates-i386|url=http://mirror.centos.org/centos/5/updates/i386/}} | {{Spacewalk/repo|name=centos5-updates-i386|url=http://mirror.centos.org/centos/5/updates/i386/}} | ||
{{Spacewalk/repo|name=centos5-rpmforge-i386|url=http://apt.sw.be/redhat/el5/en/i386/rpmforge/}} | {{Spacewalk/repo|name=centos5-rpmforge-i386|url=http://apt.sw.be/redhat/el5/en/i386/rpmforge/}} | ||
{{Spacewalk/repo|name=centos5-epel-i386|url=http://mirrors. | {{Spacewalk/repo|name=centos5-epel-i386|url=http://mirrors.ircam.fr/pub/fedora/epel/5/i386/}} | ||
{{Spacewalk/repo|name=centos5-b2pweb-i386|url=http://koji.b2pweb.com/repos/centos/5/os/RPMS/i386}} | {{Spacewalk/repo|name=centos5-b2pweb-i386|url=http://koji.b2pweb.com/repos/centos/5/os/RPMS/i386/}} | ||
{{Spacewalk/repo|name=centos5-percona-i386|url=http://repo.percona.com/centos/5/os/i386/}} | |||
{{Spacewalk/repo|name=centos5-spacewalkclient-i386|url=http://spacewalk.redhat.com/yum/2.0-client/RHEL/5/i386/}} | |||
{{Spacewalk/repo|name=centos5-vbox-i386|url=http://download.virtualbox.org/virtualbox/rpm/el/5/i386/}} | |||
==== Repository pour CentOS 5 64 bits ==== | ==== Repository pour CentOS 5 64 bits ==== | ||
| Ligne 121 : | Ligne 138 : | ||
{{Spacewalk/repo|name=centos5-updates-x86_64|url=http://mirror.centos.org/centos/5/updates/x86_64/}} | {{Spacewalk/repo|name=centos5-updates-x86_64|url=http://mirror.centos.org/centos/5/updates/x86_64/}} | ||
{{Spacewalk/repo|name=centos5-rpmforge-x86_64|url=http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/}} | {{Spacewalk/repo|name=centos5-rpmforge-x86_64|url=http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/}} | ||
{{Spacewalk/repo|name=centos5-epel-x86_64|url=http://mirrors. | {{Spacewalk/repo|name=centos5-epel-x86_64|url=http://mirrors.ircam.fr/pub/fedora/epel/5/x86_64/}} | ||
{{Spacewalk/repo|name=centos5-b2pweb-x86_64|url=http://koji.b2pweb.com/repos/centos/5/os/RPMS/x86_64}} | {{Spacewalk/repo|name=centos5-b2pweb-x86_64|url=http://koji.b2pweb.com/repos/centos/5/os/RPMS/x86_64/}} | ||
{{Spacewalk/repo|name=centos5-percona-x86_64|url=http://repo.percona.com/centos/5/os/x86_64/}} | |||
{{Spacewalk/repo|name=centos5-spacewalkclient-x86_64|url=http://spacewalk.redhat.com/yum/2.0-client/RHEL/5/x86_64/}} | |||
{{Spacewalk/repo|name=centos5-vbox-x86_64|url=http://download.virtualbox.org/virtualbox/rpm/el/5/x86_64/}} | |||
==== Repository pour CentOS 6 32 bits ==== | ==== Repository pour CentOS 6 32 bits ==== | ||
{{Spacewalk/repo|name=centos6-base-i386|url=http://mirror.centos.org/centos/6/os/i386/}} | {{Spacewalk/repo|name=centos6-base-i386|url=http://mirror.centos.org/centos/6/os/i386/}} | ||
{{Spacewalk/repo|name=centos6-updates-i386|url=http://mirror.centos.org/centos/6/updates/i386/}} | {{Spacewalk/repo|name=centos6-updates-i386|url=http://mirror.centos.org/centos/6/updates/i386/}} | ||
{{Spacewalk/repo|name=centos6-epel-i386|url=http://mirrors. | {{Spacewalk/repo|name=centos6-epel-i386|url=http://mirrors.ircam.fr/pub/fedora/epel/6/i386/}} | ||
{{Spacewalk/repo|name=centos6-b2pweb-i386|url=http://koji.b2pweb.com/repos/centos/6/os/RPMS/i386}} | {{Spacewalk/repo|name=centos6-b2pweb-i386|url=http://koji.b2pweb.com/repos/centos/6/os/RPMS/i386/}} | ||
{{Spacewalk/repo|name=centos6-percona-i386|url=http://repo.percona.com/centos/6/os/i386/}} | |||
{{Spacewalk/repo|name=centos6-spacewalkclient-i386|url=http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/i386/}} | |||
{{Spacewalk/repo|name=centos6-vbox-i386|url=http://download.virtualbox.org/virtualbox/rpm/el/6/i386/}} | |||
==== Repository pour CentOS 6 64 bits ==== | ==== Repository pour CentOS 6 64 bits ==== | ||
{{Spacewalk/repo|name=centos6-base-x86_64|url=http://mirror.centos.org/centos/6/os/x86_64/}} | {{Spacewalk/repo|name=centos6-base-x86_64|url=http://mirror.centos.org/centos/6/os/x86_64/}} | ||
{{Spacewalk/repo|name=centos6-updates-x86_64|url=http://mirror.centos.org/centos/6/updates/x86_64/}} | {{Spacewalk/repo|name=centos6-updates-x86_64|url=http://mirror.centos.org/centos/6/updates/x86_64/}} | ||
{{Spacewalk/repo|name=centos6-epel-x86_64|url=http://mirrors. | {{Spacewalk/repo|name=centos6-epel-x86_64|url=http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/}} | ||
{{Spacewalk/repo|name=centos6-b2pweb-x86_64|url=http://koji.b2pweb.com/repos/centos/6/os/RPMS/x86_64}} | {{Spacewalk/repo|name=centos6-b2pweb-x86_64|url=http://koji.b2pweb.com/repos/centos/6/os/RPMS/x86_64/}} | ||
{{Spacewalk/repo|name=centos6-percona-x86_64|url=http://repo.percona.com/centos/6/os/x86_64/}} | |||
{{Spacewalk/repo|name=centos6-spacewalkclient-x86_64|url=http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/x86_64/}} | |||
{{Spacewalk/repo|name=centos6-vbox-x86_64|url=http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/}} | |||
=== Repository pour CentOS 6 toute architecture === | |||
{{Spacewalk/repo|name=centos6-jpackage|url=http://ftp.heanet.ie/pub/jpackage/6.0/generic/free/}} | |||
=== Mise en place de la liaison channel/dépôt === | === Mise en place de la liaison channel/dépôt === | ||
| Ligne 160 : | Ligne 189 : | ||
# try to create the lock and check the outcome | # try to create the lock and check the outcome | ||
LOCKFILE=/var/run/spacewalk_sync.lock | LOCKFILE=/var/run/spacewalk_sync.lock | ||
if [ -f "${LOCKFILE}" ] | |||
if [ ${ | then | ||
echo "Another instance already running. Aborting." | echo "Another instance already running. Aborting." | ||
exit 1 | exit 1 | ||
fi | fi | ||
echo $(date) > ${LOCKFILE} | |||
trap ${LOCKFILE} KILL | |||
/usr/bin/spacewalk-repo-sync --channel centos5- | /usr/bin/spacewalk-repo-sync --channel centos5-base-i386 | ||
/usr/bin/spacewalk-repo-sync --channel centos5-updates- | /usr/bin/spacewalk-repo-sync --channel centos5-base-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos6-updates- | /usr/bin/spacewalk-repo-sync --channel centos6-base-i386 | ||
/usr/bin/spacewalk-repo-sync --channel | /usr/bin/spacewalk-repo-sync --channel centos6-base-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos5-updates-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos5-updates-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-updates-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-updates-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos5-rpmforge-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos5-rpmforge-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos5-epel-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos5-epel-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-epel-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-epel-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos5- | /usr/bin/spacewalk-repo-sync --channel centos5-b2pweb-i386 | ||
/usr/bin/spacewalk-repo-sync --channel | /usr/bin/spacewalk-repo-sync --channel centos5-b2pweb-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos6-b2pweb-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-b2pweb-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos5- | /usr/bin/spacewalk-repo-sync --channel centos5-percona-i386 | ||
/usr/bin/spacewalk-repo-sync --channel centos5- | /usr/bin/spacewalk-repo-sync --channel centos5-percona-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos6- | /usr/bin/spacewalk-repo-sync --channel centos6-percona-i386 | ||
/usr/bin/spacewalk-repo-sync --channel centos6- | /usr/bin/spacewalk-repo-sync --channel centos6-percona-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos5- | /usr/bin/spacewalk-repo-sync --channel centos5-spacewalkclient-i386 | ||
/usr/bin/spacewalk-repo-sync --channel centos5- | /usr/bin/spacewalk-repo-sync --channel centos5-spacewalkclient-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos6- | /usr/bin/spacewalk-repo-sync --channel centos6-spacewalkclient-i386 | ||
/usr/bin/spacewalk-repo-sync --channel centos6- | /usr/bin/spacewalk-repo-sync --channel centos6-spacewalkclient-x86_64 | ||
/usr/bin/spacewalk-repo-sync --channel centos5-vbox-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos5-vbox-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-vbox-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-vbox-x86_64 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-jpackage-i386 | |||
/usr/bin/spacewalk-repo-sync --channel centos6-jpackage-x86_64 | |||
rm -f ${LOCKFILE} | |||
</syntaxhighlight> | |||
On pourra vérifier le bon appairage en interrogeant la base de données. | |||
<syntaxhighlight lang="bash"> | |||
psql -d spaceschema -U spaceuser -W | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="sql"> | |||
select C.id, C.name, C.label, CS.source_url | |||
from rhnChannel C | |||
inner join rhnChannelContentSource CCS on CCS.channel_id = C.id | |||
inner join rhnContentSource CS on CS.id = CCS.source_id; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
{| class="wikitable" | |||
|+ Correspondance entre les channels et les URLs | |||
! id | |||
! name | |||
! label | |||
! source_url | |||
|- | |||
| 101 | |||
| CentOS 5 Base - i386 | |||
| centos5-base-i386 | |||
| http://mirror.centos.org/centos/5/os/i386/ | |||
|- | |||
| 107 | |||
| CentOS 5 B2PWeb - i386 | |||
| centos5-b2pweb-i386 | |||
| http://koji.b2pweb.com/repos/centos/5/os/RPMS/i386/ | |||
|- | |||
| 106 | |||
| CentOS 5 EPEL - i386 | |||
| centos5-epel-i386 | |||
| http://mirrors.ircam.fr/pub/fedora/epel/5/i386/ | |||
|- | |||
| 105 | |||
| CentOS 5 Rpmforge - i386 | |||
| centos5-rpmforge-i386 | |||
| http://apt.sw.be/redhat/el5/en/i386/rpmforge/ | |||
|- | |||
| 103 | |||
| CentOS 5 Updates - i386 | |||
| centos5-updates-i386 | |||
| http://mirror.centos.org/centos/5/updates/i386/ | |||
|- | |||
| 102 | |||
| CentOS 5 Base - x86_64 | |||
| centos5-base-x86_64 | |||
| http://mirror.centos.org/centos/5/os/x86_64/ | |||
|- | |||
| 110 | |||
| CentOS 5 B2PWeb - x86_64 | |||
| centos5-b2pweb-x86_64 | |||
| http://koji.b2pweb.com/repos/centos/5/os/RPMS/x86_64/ | |||
|- | |||
| 109 | |||
| CentOS 5 EPEL - x86_64 | |||
| centos5-epel-x86_64 | |||
| http://mirrors.ircam.fr/pub/fedora/epel/5/x86_64/ | |||
|- | |||
| 108 | |||
| CentOS 5 Rpmforge - x86_64 | |||
| centos5-rpmforge-x86_64 | |||
| http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/ | |||
|- | |||
| 104 | |||
| CentOS 5 Updates - x86_64 | |||
| centos5-updates-x86_64 | |||
| http://mirror.centos.org/centos/5/updates/x86_64/ | |||
|- | |||
| 111 | |||
| CentOS 6 Base - i386 | |||
| centos6-base-i386 | |||
| http://mirror.centos.org/centos/6/os/i386/ | |||
|- | |||
| 115 | |||
| CentOS 6 B2PWeb - i386 | |||
| centos6-b2pweb-i386 | |||
| http://koji.b2pweb.com/repos/centos/6/os/RPMS/i386/ | |||
|- | |||
| 114 | |||
| CentOS 6 EPEL - i386 | |||
| centos6-epel-i386 | |||
| http://mirrors.ircam.fr/pub/fedora/epel/6/i386/ | |||
|- | |||
| 113 | |||
| CentOS 6 Updates - i386 | |||
| centos6-updates-i386 | |||
| http://mirror.centos.org/centos/6/updates/i386/ | |||
|- | |||
| 112 | |||
| CentOS 6 Base - x86_64 | |||
| centos6-base-x86_64 | |||
| http://mirror.centos.org/centos/6/os/x86_64/ | |||
|- | |||
| 117 | |||
| CentOS 6 EPEL - x86_64 | |||
| centos6-epel-x86_64 | |||
| http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/ | |||
|- | |||
| 116 | |||
| CentOS 6 Updates - x86_64 | |||
| centos6-updates-x86_64 | |||
| http://mirror.centos.org/centos/6/updates/x86_64/ | |||
|- | |||
| 118 | |||
| CentOS 6 B2PWeb - x86_64 | |||
| centos6-b2pweb-x86_64 | |||
| http://koji.b2pweb.com/repos/centos/6/os/RPMS/x86_64/ | |||
|- | |||
| 122 | |||
| CentOS 5 Percona - i386 | |||
| centos5-percona-i386 | |||
| http://repo.percona.com/centos/5/os/i386/ | |||
|- | |||
| 121 | |||
| CentOS 5 Percona - x86_64 | |||
| centos5-percona-x86_64 | |||
| http://repo.percona.com/centos/5/os/x86_64/ | |||
|- | |||
| 119 | |||
| CentOS 6 Percona - i386 | |||
| centos6-percona-i386 | |||
| http://repo.percona.com/centos/6/os/i386/ | |||
|- | |||
| 120 | |||
| CentOS 6 Percona - x86_64 | |||
| centos6-percona-x86_64 | |||
| http://repo.percona.com/centos/6/os/x86_64/ | |||
|- | |||
| 123 | |||
| CentOS 5 Spacewalk Client - i386 | |||
| centos5-spacewalkclient-i386 | |||
| http://spacewalk.redhat.com/yum/2.0-client/RHEL/5/i386/ | |||
|- | |||
| 124 | |||
| CentOS 5 Spacewalk Client - x86_64 | |||
| centos5-spacewalkclient-x86_64 | |||
| http://spacewalk.redhat.com/yum/2.0-client/RHEL/5/x86_64/ | |||
|- | |||
| 125 | |||
| CentOS 6 Spacewalk Client - i386 | |||
| centos6-spacewalkclient-i386 | |||
| http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/i386/ | |||
|- | |||
| 126 | |||
| CentOS 6 Spacewalk Client - x86_64 | |||
| centos6-spacewalkclient-x86_64 | |||
| http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/x86_64/ | |||
|- | |||
| 127 | |||
| CentOS 5 VBox - i386 | |||
| centos5-vbox-i386 | |||
| http://download.virtualbox.org/virtualbox/rpm/el/5/i386/ | |||
|- | |||
| 130 | |||
| CentOS 6 VBox - x86_64 | |||
| centos6-vbox-x86_64 | |||
| http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/ | |||
|- | |||
| 129 | |||
| CentOS 6 VBox - i386 | |||
| centos6-vbox-i386 | |||
| http://download.virtualbox.org/virtualbox/rpm/el/6/i386/ | |||
|- | |||
| 128 | |||
| CentOS 5 VBox - x86_64 | |||
| centos5-vbox-x86_64 | |||
| http://download.virtualbox.org/virtualbox/rpm/el/5/x86_64/ | |||
|- | |||
| 132 | |||
| CentOS 6 JPackage - x86_64 | |||
| centos6-jpackage-x86_64 | |||
| http://ftp.heanet.ie/pub/jpackage/6.0/generic/free/ | |||
|- | |||
| 131 | |||
| CentOS 6 JPackage - i386 | |||
| centos6-jpackage-i386 | |||
| http://ftp.heanet.ie/pub/jpackage/6.0/generic/free/ | |||
|} | |||
== rhnpush == | == rhnpush == | ||
Version du 23 août 2013 à 14:49
Importer des paquets dans Spacewalk
Introduction
Pour utiliser Spacewalk, il faut d'abord lui importer des paquets RPM. Il y a deux façons de faire:
- spacewalk-repo-sync: pour importer/synchroniser tout un dépôt
- rhnpush: pour ajouter directement des paquets
Mais avant tout, Spacewalk a besoin d'avoir des définitions de channels
Créer des Channels
Création via Interface Web
La façon la plus simple est de le faire à partir de l'interface web. On s'identifie et depuis le menu
"Channels"->"Manage Software Channels"-> "Create"
On va créer les channels de base, ainsi que les channels enfants (dépôts additionnels) pour:
- CentOS 5 32 bits
- CentOS 5 64 bits
- CentOS 6 32 bits
- CentOS 6 64 bits
Channels pour CentOS 5 32 bits
Channels pour CentOS 5 64 bits
Channels pour CentOS 6 32 bits
Channels pour CentOS 6 64 bits
Création via <app>spacewalk-common-channels</app>
Alternativement, on peut utiliser en ligne de commande, le script <app>spacewalk-common-channels</app> du paquet <package>spacewalk-utils</package>pour créer les channels préconfigurés. Il peut aussi créer les clés d'activation et les définitions des dépôts externes.
Par exemple pour créer les channels i386 et x86_64 pour CentOS 5, les clés d'activations et les sous-channels clients:
/usr/bin/spacewalk-common-channels -v -u admin -p pass -a i386,x86_64 -k unlimited 'centos5*' 'spacewalk-nightly-client*'
Usage:
# spacewalk-common-channels -h
Usage: spacewalk-common-channels [options] <channel1 glob> [<channel2 glob> ... ]
Options:
-c CONFIG, --config=CONFIG
configuration file
-u USER, --user=USER username
-p PASSWORD, --password=PASSWORD
password
-s SERVER, --server=SERVER
your spacewalk server
-k KEY_LIMIT, --keys=KEY_LIMIT
activation key usage limit - 'unlimited' or number
(default: options is not set and activation keys are
not created at all)
-n, --dry-run perform a trial run with no changes made
-a ARCHS, --archs=ARCHS
list of architectures
-v, --verbose verbose
-l, --list print list of available channels
-h, --help show this help message and exit
Examples:
Create Fedora 12 channel, its child channels and activation key limited to 10 servers:
/usr/bin/spacewalk-common-channels -u admin -p pass -k 10 'fedora12*'
Create Centos 5 with child channels only on x86_64:
/usr/bin/spacewalk-common-channels -u admin -p pass -a x86_64 'centos5*'
Create only Centos 4 base channels for intel archs:
/usr/bin/spacewalk-common-channels -u admin -p pass -a i386,x86_64 'centos4'
Create Spacewalk client child channel for every (suitable) defined base channel:
/usr/bin/spacewalk-common-channels -u admin -p pass 'spacewalk-client*'
Create everything as well as unlimited activation key for every channel:
/usr/bin/spacewalk-common-channels -u admin -p pass -k unlimited '*'
Repo-sync
Déclaration des dépôts
On va maintenant déclarer nos dépôts (repositories)
Goto Channels -> Manage Software Channels -> Manage Repositories -> create new repository
Repository pour CentOS 5 32 bits
Repository pour CentOS 5 64 bits
Repository pour CentOS 6 32 bits
Repository pour CentOS 6 64 bits
Repository pour CentOS 6 toute architecture
Mise en place de la liaison channel/dépôt
Après avoir créer les dépôts, nous devons les lier à un channel.
Goto: Channels -> Manage Software Channels -> Choose the channel to be linked -> Repositories -> Select the repositories to be linked to the channel -> Update Repositories.
Maintenant on peut synchroniser les dépôts via l'interface web ou en ligne de commande.
spacewalk-repo-sync --channel CHANNEL_LABEL
N'importe quelle adresse de dépôt supporté par <app>yum</app> peut être utilisé (http://, file://, etc...). En ligne de commande, il faut être le super-utilisateur root pour synchroniser.
Voir la page <app>man</app> pour plus d'information
man 8 spacewalk-repo-sync
Les logs se trouvent dans <path>/var/log/rhn/reposync/</path>
Script pour synchroniser automatiquement les dépôts <path>/etc/cron.daily/spacewalk_sync.cron</path>
#!/bin/sh
# try to create the lock and check the outcome
LOCKFILE=/var/run/spacewalk_sync.lock
if [ -f "${LOCKFILE}" ]
then
echo "Another instance already running. Aborting."
exit 1
fi
echo $(date) > ${LOCKFILE}
trap ${LOCKFILE} KILL
/usr/bin/spacewalk-repo-sync --channel centos5-base-i386
/usr/bin/spacewalk-repo-sync --channel centos5-base-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-base-i386
/usr/bin/spacewalk-repo-sync --channel centos6-base-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-updates-i386
/usr/bin/spacewalk-repo-sync --channel centos5-updates-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-updates-i386
/usr/bin/spacewalk-repo-sync --channel centos6-updates-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-rpmforge-i386
/usr/bin/spacewalk-repo-sync --channel centos5-rpmforge-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-epel-i386
/usr/bin/spacewalk-repo-sync --channel centos5-epel-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-epel-i386
/usr/bin/spacewalk-repo-sync --channel centos6-epel-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-b2pweb-i386
/usr/bin/spacewalk-repo-sync --channel centos5-b2pweb-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-b2pweb-i386
/usr/bin/spacewalk-repo-sync --channel centos6-b2pweb-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-percona-i386
/usr/bin/spacewalk-repo-sync --channel centos5-percona-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-percona-i386
/usr/bin/spacewalk-repo-sync --channel centos6-percona-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-spacewalkclient-i386
/usr/bin/spacewalk-repo-sync --channel centos5-spacewalkclient-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-spacewalkclient-i386
/usr/bin/spacewalk-repo-sync --channel centos6-spacewalkclient-x86_64
/usr/bin/spacewalk-repo-sync --channel centos5-vbox-i386
/usr/bin/spacewalk-repo-sync --channel centos5-vbox-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-vbox-i386
/usr/bin/spacewalk-repo-sync --channel centos6-vbox-x86_64
/usr/bin/spacewalk-repo-sync --channel centos6-jpackage-i386
/usr/bin/spacewalk-repo-sync --channel centos6-jpackage-x86_64
rm -f ${LOCKFILE}
On pourra vérifier le bon appairage en interrogeant la base de données.
psql -d spaceschema -U spaceuser -W
select C.id, C.name, C.label, CS.source_url
from rhnChannel C
inner join rhnChannelContentSource CCS on CCS.channel_id = C.id
inner join rhnContentSource CS on CS.id = CCS.source_id;
| id | name | label | source_url |
|---|---|---|---|
| 101 | CentOS 5 Base - i386 | centos5-base-i386 | http://mirror.centos.org/centos/5/os/i386/ |
| 107 | CentOS 5 B2PWeb - i386 | centos5-b2pweb-i386 | http://koji.b2pweb.com/repos/centos/5/os/RPMS/i386/ |
| 106 | CentOS 5 EPEL - i386 | centos5-epel-i386 | http://mirrors.ircam.fr/pub/fedora/epel/5/i386/ |
| 105 | CentOS 5 Rpmforge - i386 | centos5-rpmforge-i386 | http://apt.sw.be/redhat/el5/en/i386/rpmforge/ |
| 103 | CentOS 5 Updates - i386 | centos5-updates-i386 | http://mirror.centos.org/centos/5/updates/i386/ |
| 102 | CentOS 5 Base - x86_64 | centos5-base-x86_64 | http://mirror.centos.org/centos/5/os/x86_64/ |
| 110 | CentOS 5 B2PWeb - x86_64 | centos5-b2pweb-x86_64 | http://koji.b2pweb.com/repos/centos/5/os/RPMS/x86_64/ |
| 109 | CentOS 5 EPEL - x86_64 | centos5-epel-x86_64 | http://mirrors.ircam.fr/pub/fedora/epel/5/x86_64/ |
| 108 | CentOS 5 Rpmforge - x86_64 | centos5-rpmforge-x86_64 | http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/ |
| 104 | CentOS 5 Updates - x86_64 | centos5-updates-x86_64 | http://mirror.centos.org/centos/5/updates/x86_64/ |
| 111 | CentOS 6 Base - i386 | centos6-base-i386 | http://mirror.centos.org/centos/6/os/i386/ |
| 115 | CentOS 6 B2PWeb - i386 | centos6-b2pweb-i386 | http://koji.b2pweb.com/repos/centos/6/os/RPMS/i386/ |
| 114 | CentOS 6 EPEL - i386 | centos6-epel-i386 | http://mirrors.ircam.fr/pub/fedora/epel/6/i386/ |
| 113 | CentOS 6 Updates - i386 | centos6-updates-i386 | http://mirror.centos.org/centos/6/updates/i386/ |
| 112 | CentOS 6 Base - x86_64 | centos6-base-x86_64 | http://mirror.centos.org/centos/6/os/x86_64/ |
| 117 | CentOS 6 EPEL - x86_64 | centos6-epel-x86_64 | http://mirrors.ircam.fr/pub/fedora/epel/6/x86_64/ |
| 116 | CentOS 6 Updates - x86_64 | centos6-updates-x86_64 | http://mirror.centos.org/centos/6/updates/x86_64/ |
| 118 | CentOS 6 B2PWeb - x86_64 | centos6-b2pweb-x86_64 | http://koji.b2pweb.com/repos/centos/6/os/RPMS/x86_64/ |
| 122 | CentOS 5 Percona - i386 | centos5-percona-i386 | http://repo.percona.com/centos/5/os/i386/ |
| 121 | CentOS 5 Percona - x86_64 | centos5-percona-x86_64 | http://repo.percona.com/centos/5/os/x86_64/ |
| 119 | CentOS 6 Percona - i386 | centos6-percona-i386 | http://repo.percona.com/centos/6/os/i386/ |
| 120 | CentOS 6 Percona - x86_64 | centos6-percona-x86_64 | http://repo.percona.com/centos/6/os/x86_64/ |
| 123 | CentOS 5 Spacewalk Client - i386 | centos5-spacewalkclient-i386 | http://spacewalk.redhat.com/yum/2.0-client/RHEL/5/i386/ |
| 124 | CentOS 5 Spacewalk Client - x86_64 | centos5-spacewalkclient-x86_64 | http://spacewalk.redhat.com/yum/2.0-client/RHEL/5/x86_64/ |
| 125 | CentOS 6 Spacewalk Client - i386 | centos6-spacewalkclient-i386 | http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/i386/ |
| 126 | CentOS 6 Spacewalk Client - x86_64 | centos6-spacewalkclient-x86_64 | http://spacewalk.redhat.com/yum/2.0-client/RHEL/6/x86_64/ |
| 127 | CentOS 5 VBox - i386 | centos5-vbox-i386 | http://download.virtualbox.org/virtualbox/rpm/el/5/i386/ |
| 130 | CentOS 6 VBox - x86_64 | centos6-vbox-x86_64 | http://download.virtualbox.org/virtualbox/rpm/el/6/x86_64/ |
| 129 | CentOS 6 VBox - i386 | centos6-vbox-i386 | http://download.virtualbox.org/virtualbox/rpm/el/6/i386/ |
| 128 | CentOS 5 VBox - x86_64 | centos5-vbox-x86_64 | http://download.virtualbox.org/virtualbox/rpm/el/5/x86_64/ |
| 132 | CentOS 6 JPackage - x86_64 | centos6-jpackage-x86_64 | http://ftp.heanet.ie/pub/jpackage/6.0/generic/free/ |
| 131 | CentOS 6 JPackage - i386 | centos6-jpackage-i386 | http://ftp.heanet.ie/pub/jpackage/6.0/generic/free/ |
rhnpush
If the packages you are wanting to push to the Spacewalk server are not in a yum repository, you can push them directly using the rhnpush tool.
For example, to upload a directory of packages called 'dir_of_packges' to the channel 'my-custom-channel':
rhnpush -v --channel=my-custom-channel --server=http://localhost/APP --dir=dir_of_packages
Note: Make sure <path>/var/satellite</path> exists on the Spacewalk server and has owner:group apache before pushing. The -v option causes progress information to be printed, e.g.:
# rhnpush -v --channel=rhel-x86_64-server-5 --server=http://localhost/APP --dir=update Connecting to http://localhost/APP Package /root/update/xorg-x11-drv-vga-4.1.0-2.1.x86_64.rpm Not Found on RHN Server -- Uploading Uploading package /root/update/xorg-x11-drv-vga-4.1.0-2.1.x86_64.rpm Using POST request Package /root/update/gnome-python2-gconf-2.16.0-1.fc6.x86_64.rpm Not Found on RHN Server -- Uploading Uploading package /root/update/gnome-python2-gconf-2.16.0-1.fc6.x86_64.rpm Using POST request
Note: I found that the above failed on Fedora 9 Everything. My work around was
find . -name "*rpm" | xargs rhnpush --channel=fedora-9-i386 --server=http://localhost/APP -v --tolerant -u spacewalk -p spacewalk
Note: The directory you pass as --dir=suchandsuch HAS TO contain the RPMs. rhnpush won't descend into directories to find RPMs.
Also, I had to put the -v at the end of the group of parameters.
--onekopaka
Note: If you are running rhnpush from a box that is NOT your spacewalk server, use the correct hostname in the --server param
Channel-to-update
If you are using CenOS or RHEL content, and wish to create channels according to an update level. You may be interested in this script here.
Regularly syncing yum repositories
This script will get the yum repo information out of the database and trigger spacewalk-repo-sync for every channel that has a yum repository. You can run it from cron to sync your repositories on a regular basis.
