kusu-repoman(8)			   Kusu Base		       kusu-repoman(8)



NAME
       kusu-repoman - Kusu repository management tool.

SYNOPSIS
       kusu-repoman [-h|-v|-l]

       kusu-repoman  [[-a|-e]  -r <Repo> {-k <kit> | --kit=<kit>} [-o <kitver-
       sion>	 |     --kitversion=<kitversion>]     [-c     <kitarch>	     |
       --kitarch=<kitarch>]

       kusu-repoman [[-s|-u|-n] -r <Repo>]


DESCRIPTION
       Kusu-repoman  is	 a repository management tool.	Kusu supports multiple
       repositories on the installer.  These repositories need	not  be	 using
       the  same  OS.	Kusu-repoman is used to manage the repositories on the
       installer.  It allows:

	      - Adding a kit to a repository.
	      - Deleting a kit from a repository.
	      - Creating a new repository.
	      - Snapshot (copy) a repository.
	      - Rebuilding a repository.
	      - Listing the repositories.

       When a kit is added or removed the repository has to be rebuilt.	  This
       is  done	 with  the  -u option.	Currently the option to add and remove
       kits cannot be combined with the -u option.  This allows	 for  multiple
       kits  to	 be added or removed without the lengthy process of rebuilding
       the repository.

       Kits can be added to the repository at any time, however kits cannot be
       removed from a repository if any of the components in the kit are still
       associated with any nodegroup.  Use kusu-repoman -l to list the kits in
       a  repository  then  kusu-kitops -l to see which nodegroups are using a
       kit to determine where a component needs to  be	de-selected  prior  to
       removing a kit.

       Kusu-repoman has the following options:



OPTIONS
       -a, --add
	      Add  a kit to the repository specified with the -r option.  Note
	      kusu-repoman has to be run again to rebuild (-u) the  repository
	      after a kit has been added.

       -e, --delete
	      Remove  a	 kit  from  a repository specified with the -r option.
	      Note kusu-repoman has to be run again to rebuild (-u) the repos-
	      itory after a kit has been removed.

       -h, --help
	      Print the help information and exit.

       -i, --kid=<Kit Id>
	      Specifies the id of the kit to add or remove.

       -k, --kit=<Kit Name>
	      Specifies the name of the kit to add or remove.

       -o, --kitversion=<Kit Version>
	      Specifies the kit version to add or remove.

       -c, --kitarch=<Kit Arch>
	      Specifies the kit architecture to add or remove.

       -l, --list
	      Specifies the kit ISO file, or the mount point of the media con-
	      taining the kit to add.

       -n, --new
	      Creates a new repository with the name  specified	 with  the  -r
	      option.	After creating a new repository it is necessary to as-
	      sociate kits with it using the -a option.	 Once  all  kits  have
	      been  associated	with  it  kusu-repoman	has to be run again to
	      rebuild (-u) the repository.

       -r <Repo>, --reponame=<Repo>
	      The name of the repository to act on.

       -s, --snapshot
	      Creates a copy of an existing repository.	 This option is useful
	      for  testing  out	 patches  before  deploying them on the entire
	      cluster.

       --flush-cache
	      Delete the checksum cache of the repository specified  with  the
	      -r  option.  Note	 kusu-repoman  has to be run again with the -u
	      option to rebuild the checksum cache.

       --dbdriver=<Driver>
	      Connect to an alternate database	using  the  driver  specified.
	      Currently	 supported  dbdrivers  are  postgres, mysql or sqlite.
	      This option is not needed for normal use.

       --dbdatabase=<Database>
	      Connect to an alternate database to read information from.  This
	      option is not needed for normal use.

       --dbuser=<User>
	      Connect to an alternate database as user <User> to read informa-
	      tion from.  This option is not needed for normal use.

       --dbpassword=<Password>
	      Connect to an alternate database using the password provided  to
	      read  information	 from.	 This  option is not needed for normal
	      use.

       -v, --version
	      Print the version information and exit.

FILES
       /depot/repos/{Numeric Directories}

AUTHORS
       Liming Tsai, <ltsai_at_platform_dot_com>

SEE ALSO
       kusu-kitops(8), kusu-ngedit(8)



Mark Black			Version: 2.0.1		       kusu-repoman(8)