Switch branches/tags
yum-rhn-plugin-2.9.4-1 yum-rhn-plugin-2.9.3-1 yum-rhn-plugin-2.9.2-1 yum-rhn-plugin-2.9.1-1 yum-rhn-plugin-2.8.9-1 yum-rhn-plugin-2.8.8-1 yum-rhn-plugin-2.8.7-1 yum-rhn-plugin-2.8.6-1 yum-rhn-plugin-2.8.5-1 yum-rhn-plugin-2.8.4-1 yum-rhn-plugin-2.8.3-1 yum-rhn-plugin-2.8.2-1 yum-rhn-plugin-2.8.1-1 yum-rhn-plugin-2.7.7-1 yum-rhn-plugin-2.7.6-1 yum-rhn-plugin-2.7.5-1 yum-rhn-plugin-2.7.4-1 yum-rhn-plugin-2.7.3-1 yum-rhn-plugin-2.7.2-1 yum-rhn-plugin-2.7.1-1 yum-rhn-plugin-2.6.4-1 yum-rhn-plugin-2.6.3-1 yum-rhn-plugin-2.6.2-1 yum-rhn-plugin-2.6.1-1 yum-rhn-plugin-2.5.5-1 yum-rhn-plugin-2.5.4-1 yum-rhn-plugin-2.5.3-1 yum-rhn-plugin-2.5.2-1 yum-rhn-plugin-2.5.1-1 yum-rhn-plugin-2.4.6-1 yum-rhn-plugin-2.4.5-1 yum-rhn-plugin-2.4.4-1 yum-rhn-plugin-2.4.3-1 yum-rhn-plugin-2.4.2-1 yum-rhn-plugin-2.4.1-1 yum-rhn-plugin-2.3.3-1 yum-rhn-plugin-2.3.2-1 yum-rhn-plugin-2.3.1-1 yum-rhn-plugin-2.2.7-1 yum-rhn-plugin-2.2.6-1 yum-rhn-plugin-2.2.5-1 yum-rhn-plugin-2.2.4-1 yum-rhn-plugin-2.2.3-1 yum-rhn-plugin-2.2.2-1 yum-rhn-plugin-2.2.1-1 yum-rhn-plugin-2.1.7-1 yum-rhn-plugin-2.1.6-1 yum-rhn-plugin-2.1.5-1 yum-rhn-plugin-2.1.4-1 yum-rhn-plugin-2.1.3-1 yum-rhn-plugin-2.1.2-1 yum-rhn-plugin-2.1.1-1 yum-rhn-plugin-2.0.1-1 yum-rhn-plugin-1.10.5-1 yum-rhn-plugin-1.10.4-1 yum-rhn-plugin-1.10.3-1 yum-rhn-plugin-1.10.2-1 yum-rhn-plugin-1.10.1-1 yum-rhn-plugin-1.9.4-1 yum-rhn-plugin-1.9.3-1 yum-rhn-plugin-1.9.2-1 yum-rhn-plugin-1.9.1-1 yum-rhn-plugin-1.8.8-1 yum-rhn-plugin-1.8.7-1 yum-rhn-plugin-1.8.6-1 yum-rhn-plugin-1.8.5-1 yum-rhn-plugin-1.8.4-1 yum-rhn-plugin-1.8.3-1 yum-rhn-plugin-1.8.2-1 yum-rhn-plugin-1.8.1-1 yum-rhn-plugin-1.7.2-1 yum-rhn-plugin-1.7.1-1 yum-rhn-plugin-1.6.16-1 yum-rhn-plugin-1.6.15-1 yum-rhn-plugin-1.6.14-1 yum-rhn-plugin-1.6.13-1 yum-rhn-plugin-1.6.12-1 yum-rhn-plugin-1.6.11-1 yum-rhn-plugin-1.6.10-1 yum-rhn-plugin-1.6.9-1 yum-rhn-plugin-1.6.8-1 yum-rhn-plugin-1.6.7-1 yum-rhn-plugin-1.6.6-1 yum-rhn-plugin-1.6.5-1 yum-rhn-plugin-1.6.4-1 yum-rhn-plugin-1.6.3-1 yum-rhn-plugin-1.6.2-1 yum-rhn-plugin-1.6.1-1 yum-rhn-plugin-1.5.11-1 yum-rhn-plugin-1.5.10-1 yum-rhn-plugin-1.5.9-1 yum-rhn-plugin-1.5.8-1 yum-rhn-plugin-1.5.7-1 yum-rhn-plugin-1.5.6-1 yum-rhn-plugin-1.5.5-1 yum-rhn-plugin-1.5.4-1 yum-rhn-plugin-1.5.3-1 yum-rhn-plugin-1.5.2-1 yum-rhn-plugin-1.5.1-1 yum-rhn-plugin-1.4.15-1
Nothing to show
Find file History
Latest commit d2ee395 Nov 12, 2018
Permalink
..
Failed to load latest commit information.
apache-conf 1427625 - Fix garbage-char in file (??) Mar 7, 2017
cdn_tools use explicit version of python Oct 2, 2018
common don't require python22, python2 is enough Oct 18, 2018
doc Revert "591050 - add meta information to dump" Aug 10, 2010
logrotate 1434787 - adding logrotate Apr 19, 2017
po Fixing newline error in translation Mar 20, 2018
rhn-conf 1455795 - move to different file to not conflict with web.default_mai… May 26, 2017
satellite_exporter Updating copyright years for 2018 Mar 19, 2018
satellite_tools fixed pylint errors Nov 12, 2018
server 1640156 - correctly recognize Nutanix AHV as virtual guest Oct 18, 2018
test use explicit version of python Oct 2, 2018
upload_server update copyright year Jul 31, 2017
wsgi updating copyright years May 24, 2016
HACKING Update HACKING file for backend test instructions. Jun 23, 2009
LICENSE Getting rid of Tabs and trailing spaces in LICENSE, COPYING, and READ… Jan 8, 2015
Makefile Tell to Makefile that we change name to spacewalk-backend Aug 6, 2008
Makefile.backend split reposync and cdnsync log directories Sep 5, 2016
Makefile.defs 1477753 - use standard brp-python-bytecompile Aug 9, 2017
README.ULN dropping quiet flag, it's not much useful now Sep 5, 2016
__init__.py update copyright year Aug 1, 2017
_apache.py use explicit version of python Oct 2, 2018
db-checker.py use explicit version of python Oct 2, 2018
spacewalk-backend.spec Automatic commit of package [spacewalk-backend] release [2.9.29-1]. Nov 12, 2018

README.ULN

Unbreakable Linux Network integration for Spacewalk
===================================================

This package contains the ULN plugin for the existing spacewalk-repo-sync
utility. The plugin allows you to synchronize ULN channels directly into Spacewalk
channels without requiring the Spacewalk server to be registered to ULN.

Configuration of the plugin
---------------------------

The plugin only requires very basic configuration via the /etc/rhn/spacewalk-repo-sync/uln.conf file.

[main]
username = <ULN SSO username>
password = <ULN SSO password>

As this file contains login credentials for the Unbreakable Linux Network, we strongly recommend ensuring
read-only access to the user that will run spacewalk-repo-sync by setting file permissions to 0400.

The plugin can also use any proxy configured via /etc/rhn/rhn.conf or the Spacewalk web interface.

Configuration of Spacewalk
--------------------------

The plugin extends the functionality of spacewalk-repo-sync by allowing it to download packages and errata
directly from ULN into an existing Spacewalk Software Channel. The configuration procedure is:

1. Create a Spacewalk Software Channel and ULN-based Repository (using the uln:/// style URL)
2. Run spacewalk-repo-sync to sync packages and errata (if available) from ULN into that channel.

Web Interface Configuration
---------------------------

Configuration of ULN repositories within the Spacewalk web interface is identical to configuring
standard yum repositories, except the URL is specially formatted to point directly to ULN.

When configuring a ULN-based repository, use a URL in the format: uln:///<ULN channel label>.

For example, the Oracle Linux 6 (x86_64) Latest channel on ULN has the label "ol6_x86_64_latest", so the
URL would be uln:///ol6_x86_64_latest in Spacewalk.

You can get a list of available ULN channel labels from the ULN web interface.

Command-Line Usage instructions
-------------------------------

This example assumes you have created a Software Channel in Spacewalk with the Channel Label
of oraclelinux6_x86_64_latest and you want to sync the packages and errata from the ULN channel with the
label of ol6_x86_64_latest into this Software Channel.

You will need to know the channel label of the Spacewalk Software Channel as well as the channel label of the
upstream ULN channel you want to synchronize from.

The format of the spacewalk-repo-sync command is:

# spacewalk-repo-sync --type uln --channel=<spacewalk channel label> --url=uln:///<ULN channel label>

For example, to sync the Oracle Linux 6 (x86_64) Latest channel from ULN, you would run:

# spacewalk-repo-sync --type uln --channel=oraclelinux6_x86_64_latest --url=uln:///ol6_x86_64_latest

The command-line parameters are:

-c CHANNEL_LABEL, --channel=CHANNEL_LABEL
    The label of the Spacewalk channel to sync packages to

-u URL, --url=URL
    The url to sync. ULN channels are specified as uln:///<channel_label>. Note there are three / characters in the URL.

-t REPO_TYPE, --type=REPO_TYPE
     The type of repo. To use direct ULN integration, set this to "uln".

It is recommended that a cronjob be manually configured to run this script at least once a day
to keep the Spacewalk channels up-to-date with ULN either by running the script via cron or scheduling
a repository sync via the Spacewalk Taskomatic engine.