summaryrefslogtreecommitdiffstats
path: root/doc/unsorted
diff options
context:
space:
mode:
Diffstat (limited to 'doc/unsorted')
-rw-r--r--doc/unsorted/converging_rhel5.txt4
-rw-r--r--doc/unsorted/developing_for_bcfg2.txt4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/unsorted/converging_rhel5.txt b/doc/unsorted/converging_rhel5.txt
index e41c46f8e..9d508e5e4 100644
--- a/doc/unsorted/converging_rhel5.txt
+++ b/doc/unsorted/converging_rhel5.txt
@@ -51,7 +51,7 @@ For a "Package"
* For example, {{{/etc/motd}}} to {{{/var/lib/bcfg2/Cfg/etc/motd/motd}}}. Yes, there is an extra directory level named after the file.
- #. Specify configuration files as {{{<ConfigFile name='PATH' />}}} in the Base or Bundler configuration.
+ #. Specify configuration files as {{{<Path name='PATH' />}}} in the Base or Bundler configuration.
#. Add directories to {{{/var/lib/bcfg2/Rules/directories.xml}}}. For example:
.. code-block:: xml
@@ -84,7 +84,7 @@ For a "Package"
#. Add {{{pkg_checks="false"}}} to the {{{<Package />}}} tag.
-For a "ConfigFile"
+For a "Path"
-------------------
* Unclear verification problem (no details from BCFG2)
diff --git a/doc/unsorted/developing_for_bcfg2.txt b/doc/unsorted/developing_for_bcfg2.txt
index 39582b520..9d3e77bd7 100644
--- a/doc/unsorted/developing_for_bcfg2.txt
+++ b/doc/unsorted/developing_for_bcfg2.txt
@@ -70,7 +70,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'''
@@ -79,7 +79,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