packages config schema for bcfg2
Narayan Desai, Argonne National Laboratory
**RepoOptionsType** can be used to specify arbitrary
repository options.
The options given in this tag will only be used on the Bcfg2
server, not on the clients.
The options given in this tag will only be used on the Bcfg2
clients, not on the server.
All other (arbitrary) attributes will be added to the
repository configuration.
**SourceType** elements are used to specify software sources
(i.e., repositories) for the Packages plugin.
Components are used to build multiple repository URLs from
a single :xml:element:`Source` tag. This is only
meaningful if the :xml:attribute:`SourceType:url`
attribute is specified; see that attribute above for more
detail.
The architecture(s) of the repository. A client must be a
member of one of the listed architecture groups in order
for this source to apply to the client. Additionally, if
the :xml:attribute:`SourceType:url` attribute is
specified, the :xml:element:`Arch` tag is used to generate
URLs. See :xml:attribute:`the url attribute
<SourceType:url>` for more detail.
The GPG key(s) for the repository. This only applies to
sources with :xml:attribute:`SourceType:type` = ``yum``.
If GPG keys are specified, then GPG checking will be
automatically enabled for the repository, both on the
Bcfg2 server (if :ref:`yum libraries
<native-yum-libraries>` are in use) and on the Bcfg2
client (if you use
:ref:`server-plugins-generators-packages` to
:ref:`generate your Yum config
<generating-client-configs>`).
Arbitrary options to be used in the repository
configuration.
Blacklist the given package(s) from the
:ref:`server-plugins-generators-packages` plugin. This
prevents them from being included in
automatically-resolved dependencies.
If **Whitelist** is specified, *only* packages listed
will be included by the
:ref:`server-plugins-generators-packages` plugin.
Include packages recommended as dependencies by APT. This
only applies to sources with
:xml:attribute:`SourceType:type` = ``apt``. You must
regenerate the Packages cache after changing this attribute.
Include essential packages from this repo by default (i.e.,
without needing to specify them in a bundle). This only
applies to sources with :xml:attribute:`SourceType:type` =
``apt``.
The type of the repository. This corresponds to the
Packages plugin driver that will handle the source.
The :ref:`Pulp <pulp-source-support>` repository ID
for this repo. This only applies to sources with
:xml:attribute:`SourceType:type` = ``yum``. Due to the
amount of data that can be queried directly from Pulp,
there's rarely a need to supply other attributes.
Include ``deb-src`` lines in the generated APT
configuration. This only applies to sources with
:xml:attribute:`SourceType:type` = ``apt``.
The base URL to use when generating URLs for this source.
If :xml:attribute:`SourceType:url` is used, you must also
provide the :xml:element:`Arch` tag, at least one
:xml:element:`Component` tag, and the
:xml:attribute:`SourceType:version` attribute. You must not
specify :xml:attribute:`SourceType:rawurl`. For each
combination of component and Arch tag, a URL is created in
the format::
<url>/<version>/<component>/<arch>
The raw URL to the (single) repository defined by this
source. :xml:element:`Component` and
:xml:attribute:`SourceType:version` are ignored if this is
given.
The OS version this source applies to. This is used to
generate URLs if the :xml:attribute:`SourceType:url`
attribute is given, and ignored otherwise.
Specifiy an explicit name for the source and do not generate
it automatically.
Override the global lax_decryption setting in
``bcfg2.conf``.