summaryrefslogtreecommitdiffstats
path: root/doc/server/plugins/generators/packages.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/server/plugins/generators/packages.txt')
-rw-r--r--doc/server/plugins/generators/packages.txt27
1 files changed, 19 insertions, 8 deletions
diff --git a/doc/server/plugins/generators/packages.txt b/doc/server/plugins/generators/packages.txt
index b24dede28..83f44e393 100644
--- a/doc/server/plugins/generators/packages.txt
+++ b/doc/server/plugins/generators/packages.txt
@@ -147,7 +147,9 @@ Handling GPG Keys
Packages can automatically handle GPG signing keys for Yum
repositories. Simply specify the URL to the GPG key(s) for a
-repository in ``sources.xml``::
+repository in ``sources.xml``.
+
+.. code-block:: xml
<Source type="yum"
rawurl="http://mirror.example.com/centos6-x86_64/RPMS.os">
@@ -167,7 +169,9 @@ Example usage
=============
Create a ``sources.xml`` file in the Packages directory that looks
-something like this::
+something like this:
+
+.. code-block:: xml
<Sources>
<Group name="ubuntu-intrepid">
@@ -193,11 +197,15 @@ something like this::
will notice that the default behavior for apt is to add Recommended
packages as dependencies. You can configure the Packages plugin to
add recommended packages by adding the ``recommended`` attribute,
- e.g.::
+ e.g.:
+
+ .. code-block:: xml
<Source type="apt" recommended="true" ...>
-Yum sources can be similarly specified::
+Yum sources can be similarly specified.
+
+.. code-block:: xml
<Sources>
<Group name="centos-5.2">
@@ -217,7 +225,9 @@ For sources with a **URL** attribute, the **Version** attribute is
also necessary.
.. note:: There is also a rawurl attribute for specifying sources that
- don't follow the conventional layout::
+ don't follow the conventional layout.
+
+ .. code-block:: xml
<Sources>
<Group name="centos5.4">
@@ -272,9 +282,10 @@ will report information like::
Packages: Updating http://mirror.centos.org/centos/5/extras/x86_64/repodata/filelists.xml.gz
Packages: Updating http://mirror.centos.org/centos/5/extras/x86_64/repodata/primary.xml.gz
-Once line per file download needed. ``Packages/sources.xml`` will be reloaded
-at this time, so any source specification changes (new or modified
-sources in this file) will be reflected by the server at this point.
+Once line per file download needed. ``Packages/sources.xml`` will
+be reloaded at this time, so any source specification changes (new
+or modified sources in this file) will be reflected by the server at
+this point.
Soft reload
-----------