summaryrefslogtreecommitdiffstats
path: root/doc/plugins/generators/deps.txt
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-12-29 04:19:02 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-12-29 04:19:02 +0000
commitbd0204ecb1fb80cdf36af0f57b72e84445c1a088 (patch)
tree930345633221d9fda156140fb494d739a0484f85 /doc/plugins/generators/deps.txt
parentd61a93ac7451be4eedb07f93d507b67d6af7b025 (diff)
downloadbcfg2-bd0204ecb1fb80cdf36af0f57b72e84445c1a088.tar.gz
bcfg2-bd0204ecb1fb80cdf36af0f57b72e84445c1a088.tar.bz2
bcfg2-bd0204ecb1fb80cdf36af0f57b72e84445c1a088.zip
doc: Rearrange plugin document structure
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5636 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc/plugins/generators/deps.txt')
-rw-r--r--doc/plugins/generators/deps.txt48
1 files changed, 48 insertions, 0 deletions
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
+
+ <Dependencies priority='0'>
+ <Package name='bcfg2'>
+ <Package name='python-lxml'/>
+ <Package name='isprelink'/>
+ </Package>
+ </Dependencies>
+
+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
+
+ <Dependencies priority='0'>
+ <Package name='bcfg2-server'>
+ <Package name='python-cheetah'/>
+ <Package name='gamin-python'/>
+ <Package name='sqlite'/>
+ <Package name='python-sqlite'/>
+ <Package name='Django'/>
+ <Package name='mod_python'/>
+ <Package name='graphviz'/>
+ <Package name='xorg-x11-font-utils'/>
+ <Package name='chkfontpath'/>
+ <Package name='ttmkfdir'/>
+ <Package name='xorg-x11-xfs'/>
+ <Package name='urw-fonts'/>
+ </Package>
+ </Dependencies>
+
+This states that the bcfg2-server package (it's a separate package on some distros) depends on a long list of other packages.