1 | | = Pkgmgr = |
2 | | |
3 | | == pkgmgr_gen.py == |
4 | | |
5 | | Program to generate a bcfg2 Pkgmgr configuration file from a list of directories that contain RPMS. All versions or only the latest may be included in the output. `rpm.labelCompare` is used to compare the package versions, so that a proper rpm version comparison is done (epoch:version-release). |
6 | | The output file may be formated for use with the RPM or Yum Bcfg2 client drivers. The output can also contain the !PackageList and nested group headers. |
7 | | |
8 | | Source : http://trac.mcs.anl.gov/projects/bcfg2/browser/tools/pkgmgr_gen.py |
9 | | |
10 | | == pkgmgr_update.py == |
11 | | |
12 | | Program to update an existing Bcfg2 Pkgmgr configuration file from a list of directories that contain RPMS. Only the epoch, version, release and simplefiles attributes are updated in existing entries. All other entries and attributes are preserved. |
13 | | |
14 | | This is a total hack until a proper more generalized system for managing Pkgmgr configuration files is developed. |
15 | | |
16 | | Source : http://trac.mcs.anl.gov/projects/bcfg2/browser/tools/pkgmgr_update.py |
| 1 | This page has moved to http://docs.bcfg2.org/server/plugins/generators/pkgmgr.html. |