summaryrefslogtreecommitdiffstats
path: root/doc/development/index.txt
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2010-06-10 20:26:23 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-06-10 17:52:27 -0500
commit827151ffa0d16aa50d4074fb981c78966da138a7 (patch)
tree27a3bb1c5b03a13f9b9779b730533056a3451829 /doc/development/index.txt
parente89e645ff0cbdbf74929c13f2db588c3de5d5a0e (diff)
downloadbcfg2-827151ffa0d16aa50d4074fb981c78966da138a7.tar.gz
bcfg2-827151ffa0d16aa50d4074fb981c78966da138a7.tar.bz2
bcfg2-827151ffa0d16aa50d4074fb981c78966da138a7.zip
doc: Replace ConfigFile with Path references
Signed-off-by: Sol Jerome <sol.jerome@gmail.com> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5918 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'doc/development/index.txt')
-rw-r--r--doc/development/index.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/index.txt b/doc/development/index.txt
index bcfa2b56c..0cfe4ec42 100644
--- a/doc/development/index.txt
+++ b/doc/development/index.txt
@@ -188,7 +188,7 @@ Example Plugin
def __init__(self, core, datastore):
Bcfg2.Server.Plugin.Plugin.__init__(self, core, datastore)
- self.Entries = {'ConfigFile':{'/etc/foo.conf': self.buildFoo}}
+ self.Entries = {'Path':{'/etc/foo.conf': self.buildFoo}}
def myfunction(self):
'''function for xmlrpc rmi call'''
@@ -197,7 +197,7 @@ Example Plugin
def buildFoo(self, entry, metadata):
'''Bind per-client information into entry based on metadata'''
- entry.attrib.update({'owner':'root', 'group':'root', 'perms':'644'})
+ entry.attrib.update({'type':'file', 'owner':'root', 'group':'root', 'perms':'644'})
entry.text = '''contents of foo.conf'''
Example Connector