From 3291a875339a7e5569d4232d2333fe37b1f6eac0 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 19 Jul 2011 09:16:47 -0400 Subject: made info.xml files understand tags to better set permissions on altsrc'd files --- doc/server/info.txt | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/server/info.txt b/doc/server/info.txt index 0d273c2b6..192805ed4 100644 --- a/doc/server/info.txt +++ b/doc/server/info.txt @@ -85,16 +85,16 @@ specification. info.xml files ============== -``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 ` or :ref:`Pkgmgr +``info.xml`` files add the ability to specify different sets of file +metadata on a group by group or host by host basis, or by path (for +files using :ref:`altsrc `). These +files are XML, and work similarly to those used by :ref:`Rules +` or :ref:`Pkgmgr `. The following specifies a different global set of permissions -(root/sys/0651) than on clients in group webserver (root/root/0652) - -.. code-block:: xml +(root/sys/0651) than on clients in group webserver or named +"foo.example.com" (root/root/0652):: @@ -105,3 +105,15 @@ The following specifies a different global set of permissions + +The following specifies a different set of permissions depending on +the path of the file:: + + + + + + + + + -- cgit v1.2.3-1-g7c22