Open main menu

CDOT Wiki β

Changes

Bcfg2 Configuration

837 bytes added, 14:15, 16 March 2012
Packages
===Packages===
The default package management system for bcfg2 is PkgMgr, but the Packages plugin has enhanced yum support, so it will be used in it's stead. To enable the Packages plugin, add the entry "Packages" to the plugins line in /etc/bcfg2.conf. The folder "/var/lib/bcfg2/Packages" must also be present. The Packages Plugin as implemented on the Armory Build farm has three prerequisites:* A sources.xml file* An architecture probe* [[#Package Bundles|Package Bundles  =====sources.xml=====The sources.xml file must be located under "/var/lib/bcfg2/Packages" and is used to define the repositories that a certain group should query for their packages. A sample of such a file is as follows: <pre><Sources><Group name="fedora-15"> <Source type="yum" rawurl="http://mirror.chpc.utah.edu/pub/fedora-secondary/releases/15/Everything/armhfp/os/Packages"> <Arch>armhfp</Arch> </Source> <Source type="yum" rawurl="http://mirror.chpc.utah.edu/pub/fedora-secondary/releases/15/Everything/arm/os/Packages"> <Arch>arm</Arch> </Source></Group></Sources></pre>
===Probes===
1
edit