Version 1 (modified by 18 years ago) (diff) | ,
---|
Generating Templates for OS and gLite
TracNav
Table of Contents
OS Templates
OS Templates describing RPM list for each OS feature goup are entirely generated from standard Red Hat (or SL) provided comps.xml
file. This is a 3 steps process :
rpmProvides.pl
: generate a file describing features provided by each RPM in OS distributionrpmRequires.pl
: generate a file describing for each RPM in the distribution the required dependencies. Uses file produced by previous step as input.comps2pan.xsl
: generate the templates from standardcomps.xml
file provided in OS distribution. Uses file produced by previous step as input.
It is important to use the namespace
parameter in comps2pan.xsl
and indicates rpmlist
as value.
All these tools are in utils/misc
in Quattor CVS.
gLite Templates
Templates for pure gLite services are generated from file .conf.xml
provided in the config RPM associated with each service. This is done by create_template.pl
tool, utils/misc
in Quattor CVS. This tool generates 3 templates per service :
All these templates used namespaces and their layout is service oriented. There is one directory per service, containing all the templates for the service. All these directories must be placed in common/glite
directory of gLite templates.