From bd0204ecb1fb80cdf36af0f57b72e84445c1a088 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Tue, 29 Dec 2009 04:19:02 +0000 Subject: doc: Rearrange plugin document structure Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5636 ce84e21b-d406-0410-9b95-82705330c041 --- doc/plugins/generators/deps.txt | 48 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 doc/plugins/generators/deps.txt (limited to 'doc/plugins/generators/deps.txt') diff --git a/doc/plugins/generators/deps.txt b/doc/plugins/generators/deps.txt new file mode 100644 index 000000000..9b2772f72 --- /dev/null +++ b/doc/plugins/generators/deps.txt @@ -0,0 +1,48 @@ +.. -*- mode: rst -*- + +==== +Deps +==== + +The Deps Plugin allows you to make a series of assertions like "Package X requires Package Y (and optionally also Package Z etc.) +Note that only configuration entries, like Package, !ConfigFile, etc can be used. Groupings (like Bundle) are not supported. + +Here are some examples: + +Deps/bcfg2.xml +============== + +.. code-block:: xml + + + + + + + + +This basically causes any configuration specification that includes Package bcfg2 to include python-lxml and isprelink, in a second base clause. + +Deps/bcfg2-server.xml +===================== + +.. code-block:: xml + + + + + + + + + + + + + + + + + + +This states that the bcfg2-server package (it's a separate package on some distros) depends on a long list of other packages. -- cgit v1.2.3-1-g7c22