Repoman for Sprint 6
by Tsai Li Ming
7 Dec 2008

Overview

Repoman is a tool that prepares a repository for a Kusu Cluster. Kusu is able to prepare for repository for many distribution that it supports. Currently, it can support a RHEL 5/Centos 5 yum repository and SLES 10.3 and openSUSE 10.3 Yast repository

Yum repository is created by the tool, create-repo.

Yast repository is created by the tool, create_package_descr.


Scenarios

1. John wants create a a yast repository on his master installer so that he can install a compute node for SUSE.

2. John wants to create a yast repository to add his own rpms that he can actually install on a compute node.


Non Goals

1. The usage of node installer for compute node installation.


Functional Requirements

1. The ability to create a Yast resppository that is able to install a SLES 10.2 and openSUSE 10.3 node off the repository


Non-functional Requirements

None


Use Cases

Use Case 1: John wants to install a SLES master node

John boots up his master with a SLES supported KUSU iso and goes through the installation steps. After confirmation, a yast repository will be created that Yast can install off to complete the installation.


Use Case 2: John installs a SLES master node and wants to add a package to the master installer

John installed his Kusu master with SLES and now wants to add additonal packages to his master node. John can now use the standard yast tools such as zypper or yast to install additional packages on the mastetr node.


Use Case 3: John installs a SLES master node and wants to install a node.

After installing a SLES master node, John wants to install a node using the Yast repository. He will be able to serve out the repository as a normal http install. He can point a normal Yast installation to use the repository created on the master installler.


Use Case 4: John wants to add his custom packages

John has his own custom package that he wants to add to the repository. He wants to install the rpm on the master installer or any nodes. The rpm can be copied to a directory on the master installer and the repository refreshed. He can then install the repository usingthe standard tools like zypper or yast.


Open Items

A RHEL 5/CentOS 5 master will not able to preapre a yast reposotory.

A SLES or openSUSE master will not be able to prepare a yum repository.