From 22d22f34ce8e3c913da835cee3f1800a069e5072 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Thu, 8 Sep 2011 18:21:27 -0500 Subject: doc: Update Packages documentation Signed-off-by: Sol Jerome --- doc/appendix/guides/converging_rhel5.txt | 4 +-- doc/appendix/guides/fedora.txt | 28 ++++++++------- doc/appendix/guides/ubuntu.txt | 58 ++++++++++++++------------------ 3 files changed, 44 insertions(+), 46 deletions(-) (limited to 'doc/appendix') diff --git a/doc/appendix/guides/converging_rhel5.txt b/doc/appendix/guides/converging_rhel5.txt index d6a9d2d1c..1b52e198d 100644 --- a/doc/appendix/guides/converging_rhel5.txt +++ b/doc/appendix/guides/converging_rhel5.txt @@ -19,7 +19,7 @@ Unmanaged entries * Package (top-level) #. Enable the "Packages" plugin in ``/etc/bcfg2.conf``, and configure - the Yum repositories in ``/var/lib/bcfg2/Packages/config.xml``. + the Yum repositories in ``/var/lib/bcfg2/Packages/sources.xml``. #. If a package is unwanted, remove it:: sudo yum remove PACKAGE @@ -29,7 +29,7 @@ Unmanaged entries * Package (dependency) #. Ensure the Yum repository sources configured in - ``/var/lib/bcfg2/Packages/config.xml`` are correct. + ``/var/lib/bcfg2/Packages/sources.xml`` are correct. #. Ensure the Yum repositories themselves are up-to-date with the main package and dependencies. #. Rebuild the Packages plugin cache:: diff --git a/doc/appendix/guides/fedora.txt b/doc/appendix/guides/fedora.txt index 7aaa02815..9d11414ef 100644 --- a/doc/appendix/guides/fedora.txt +++ b/doc/appendix/guides/fedora.txt @@ -190,28 +190,32 @@ Setup the :ref:`server-plugins-generators-packages` plugin ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ First, replace **Pkgmgr** with **Packages** in the plugins -line of ``bcfg2.conf``. Then create `Packages/` directory in +line of ``bcfg2.conf``. Then create a `Packages/` directory in ``/var/lib/bcfg2`` :: $ su -c 'mkdir /var/lib/bcfg2/Packages' -Create a ``config.xml`` file for the packages in -``/var/lib/bcfg2/Packages`` with the following content. Choose a -mirror near your location according the `Mirror list`_ . +Create a ``packages.conf`` in the ``/var/lib/bcfg2/Packages`` directory +with the following contents:: + + [global] + +Create a ``sources.xml`` file for the packages in +``/var/lib/bcfg2/Packages`` with the following content. Choose a mirror +near your location according the `Mirror list`_ . .. _Mirror list: http://mirrors.fedoraproject.org/publiclist/ .. code-block:: xml - - fedora-13 - ftp://fedora.tu-chemnitz.de/pub/linux/fedora/linux/releases/ - 13 - Fedora - i386 - x86_64 - + + + Fedora + i386 + x86_64 + + diff --git a/doc/appendix/guides/ubuntu.txt b/doc/appendix/guides/ubuntu.txt index 6655a3b04..fe5564d19 100644 --- a/doc/appendix/guides/ubuntu.txt +++ b/doc/appendix/guides/ubuntu.txt @@ -152,39 +152,33 @@ Create Packages layout (as per :ref:`packages-exampleusage`) in .. code-block:: xml root@lucid:~# mkdir /var/lib/bcfg2/Packages - root@lucid:~# cat /var/lib/bcfg2/Packages/config.xml + root@lucid:~# cat /var/lib/bcfg2/Packages/packages.conf + [global] + root@lucid:~# cat /var/lib/bcfg2/Packages/sources.xml - - ubuntu-lucid - http://us.archive.ubuntu.com/ubuntu - lucid - main - multiverse - restricted - universe - amd64 - i386 - - - lucid - http://archive.ubuntu.com/ubuntu - lucid-updates - main - multiverse - restricted - universe - amd64 - - - lucid - http://security.ubuntu.com/ubuntu - lucid-security - main - multiverse - restricted - universe - amd64 - + + + main + multiverse + restricted + universe + amd64 + + + main + multiverse + restricted + universe + amd64 + + + main + multiverse + restricted + universe + amd64 + + Due to the :ref:`server-plugins-generators-packages-magic-groups`, -- cgit v1.2.3-1-g7c22