summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-03-01 14:25:42 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-03-01 14:25:42 -0600
commit4fd8b9486eac208c18925fa103b2360fded7a125 (patch)
tree7fd5a19cd977ae98d64805674b42d856fb5cc794 /doc
parent10ab635a405048ff87ce03e20aef7005cac2b0db (diff)
downloadbcfg2-4fd8b9486eac208c18925fa103b2360fded7a125.tar.gz
bcfg2-4fd8b9486eac208c18925fa103b2360fded7a125.tar.bz2
bcfg2-4fd8b9486eac208c18925fa103b2360fded7a125.zip
doc: Document <Client> info capabilities (reported by mkd on irc)
It is possible to use <Client> tags in info.xml files (in addition to <Group> tags). Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/server/info.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/server/info.txt b/doc/server/info.txt
index 0adf8ce51..231a83a52 100644
--- a/doc/server/info.txt
+++ b/doc/server/info.txt
@@ -79,10 +79,11 @@ specification.
info.xml files
==============
-``info.xml`` files add the ability to specify different sets of file
-metadata on a group by group basis. These files are XML, and work
-similarly to those used by :ref:`Rules <server-plugins-generators-rules>`
-or :ref:`Pkgmgr <server-plugins-generators-pkgmgr>`.
+``info.xml`` files add the ability to specify different
+sets of file metadata on a group by group or host by host
+basis. These files are XML, and work similarly to those used by
+:ref:`Rules <server-plugins-generators-rules>` or :ref:`Pkgmgr
+<server-plugins-generators-pkgmgr>`.
The following specifies a different global set of permissions
(root/sys/0651) than on clients in group webserver (root/root/0652)
@@ -90,6 +91,9 @@ The following specifies a different global set of permissions
.. code-block:: xml
<FileInfo>
+ <Client name='foo.example.com'>
+ <Info owner='root' group='root' perms='0652'/>
+ </Client>
<Group name='webserver'>
<Info owner='root' group='root' perms='0652'/>
</Group>