summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-06-17 10:26:11 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-06-17 10:26:35 -0500
commitc358e339e79571db23f329304a470acfe2ec25e6 (patch)
treeb61f046e162a2fa0d2f71a09022fbe4944db5968 /doc
parent3ec2fc27deefc647127c9e729221826a90fd7a96 (diff)
downloadbcfg2-c358e339e79571db23f329304a470acfe2ec25e6.tar.gz
bcfg2-c358e339e79571db23f329304a470acfe2ec25e6.tar.bz2
bcfg2-c358e339e79571db23f329304a470acfe2ec25e6.zip
doc: Add warning about Group tags in Genshi Bundles
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/server/plugins/structures/bundler/index.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/server/plugins/structures/bundler/index.txt b/doc/server/plugins/structures/bundler/index.txt
index 6b5c246aa..c74e13e9d 100644
--- a/doc/server/plugins/structures/bundler/index.txt
+++ b/doc/server/plugins/structures/bundler/index.txt
@@ -146,6 +146,16 @@ The `Genshi templating system`_ is used internally.
Use
---
+.. warning::
+
+ Group tags are not used inside of Genshi templates. You can get the
+ same logic (and more) using Genshi conditionals.
+
+ .. code-xml::
+
+ <py:if test="groupname in metadata.groups">
+ </py:if>
+
Bcfg uses the Genshi API for templates, and performs a XML format
stream rendering of the template into an lxml entry, which is included
in the client configuration. :ref:`Client metadata <client-metadata>`