summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-11-09 00:43:30 +0100
committerFabian Affolter <fabian@bernewireless.net>2010-11-09 00:43:30 +0100
commit7a884707ec7189f743dbb8de07e957e2f63e02c8 (patch)
tree1c0a77887a5592414828ab3ab5a4f97db18163e2
parentfa3d48565cab5c6fedf0ceaf5c5d7596eeb49ff0 (diff)
downloadbcfg2-7a884707ec7189f743dbb8de07e957e2f63e02c8.tar.gz
bcfg2-7a884707ec7189f743dbb8de07e957e2f63e02c8.tar.bz2
bcfg2-7a884707ec7189f743dbb8de07e957e2f63e02c8.zip
Removed
-rw-r--r--doc/server/plugins/properties.txt46
1 files changed, 0 insertions, 46 deletions
diff --git a/doc/server/plugins/properties.txt b/doc/server/plugins/properties.txt
deleted file mode 100644
index fa8bfd884..000000000
--- a/doc/server/plugins/properties.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-.. -*- mode: rst -*-
-
-.. _server-plugins-properties:
-
-==========
-Properties
-==========
-
-The Properties plugin is a connector plugin that adds information from
-properties files into client metadata instances.
-
-Enabling Properties
-===================
-
-First, ``mkdir /var/lib/bcfg2/Properties``. Each property XML file goes
-in this directory. Each will automatically be cached by the server,
-and reread/reparsed upon changes. Add **Properties** to your ``plugins``
-line in ``/etc/bcfg2.conf``.
-
-Data Structures
-===============
-
-Properties adds a new dictionary to client metadata instances that maps
-property file names to PropertyFile instances. PropertyFile instances
-contain parsed XML data as the "data" attribute.
-
-Usage
-=====
-
-Specific property files can be referred to in
-templates as metadata.Properties[<filename>]. The
-data attribute is an LXML element object. (Documented
-`here <http://codespeak.net/lxml/tutorial.html#the-element-class>`_)
-
-Currently, no access methods are defined for this data, but as we
-formulate common use cases, we will add them to the !PropertyFile class
-as methods. This will simplify templates.
-
-Accessing Properties contest from TGenshi
-=========================================
-
-Access contents of ``Properties/auth.xml``
-
-::
-
- ${metadata.Properties['auth.xml'].data.find('file').find('bcfg2.key').text}