From 9d6e6241954d001a5b49e4ea9a48c10e2a792958 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Mon, 10 Dec 2012 17:19:54 -0600 Subject: generate XML schema docs from XML schemas themselves --- schemas/info.xsd | 127 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 108 insertions(+), 19 deletions(-) (limited to 'schemas/info.xsd') diff --git a/schemas/info.xsd b/schemas/info.xsd index 83a8173d2..24538ffe3 100644 --- a/schemas/info.xsd +++ b/schemas/info.xsd @@ -1,8 +1,7 @@ - - info.xml schema for bcfg2 + ``info.xml`` schema for Bcfg2 @@ -10,39 +9,129 @@ + + + The Info tag specifies metadata (ownership, permissions, etc.) + for entries that are generated by various plugins. + + - - - - - - - - + + + + Encoding of the file for tranfer to the client. Use + ``base64`` for binary files. + + + + + + + Sets group of the file. + + + + + + + Important entries are installed first during client + execution. + + + + + + + Sets owner of the file. + + + + + + + Sets the mode of the file from the octal value given. + + + + + + + Sets the SELinux context of the file, or sets to the default + context for that path set by policy if set to the special + value ``__default__``. + + + + + + + If true, files that are replaced will be backed up first. + + + + + + + The contents of sensitive entries aren't included in reports. + + + - + + + + An **InfoGroupType** is a ``info.xml`` tag used to provide + logic. Child entries of such a tag only apply to machines + that match the condition specified -- membership in a group, a + matching client name, or a matching path for the file being + generated. :xml:attribute:`InfoGroupType:negate` can be set + to negate the sense of the match. + + - - - - - + + + + The name of the client or group, or the full path to match + on. Child entries will only apply to this client or group + (unless :xml:attribute:`InfoGroupType:negate` is set). + + + + + + + Negate the sense of the match, so that child entries only + apply to a client if it is not a member of the given group, + does not have the given client name, or the path names do + not match. + + + + + + Top-level tag for ``info.xml``. + + - - - + + + -- cgit v1.2.3-1-g7c22