summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-23 18:43:30 -0500
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2014-02-26 22:31:02 -0500
commitd4566b5285bb87cbc3e1a69d091f5404b5acfc0d (patch)
treec7390b0a6c4ee204300ec06ffb0a30f9f632812a /schemas
parent9eb8eb8ebad15ddb0ea2b5735452dbd5d6c41a91 (diff)
downloadbcfg2-d4566b5285bb87cbc3e1a69d091f5404b5acfc0d.tar.gz
bcfg2-d4566b5285bb87cbc3e1a69d091f5404b5acfc0d.tar.bz2
bcfg2-d4566b5285bb87cbc3e1a69d091f5404b5acfc0d.zip
Bundler: added path globbing
Diffstat (limited to 'schemas')
-rw-r--r--schemas/pathentry.xsd29
1 files changed, 28 insertions, 1 deletions
diff --git a/schemas/pathentry.xsd b/schemas/pathentry.xsd
index e5d2ef6af..44c86f9bc 100644
--- a/schemas/pathentry.xsd
+++ b/schemas/pathentry.xsd
@@ -12,7 +12,34 @@
schemaLocation="genshi.xsd"/>
<xsd:complexType name='PathEntry'>
- <xsd:attribute type='xsd:string' name='name' use='required'/>
+ <xsd:annotation>
+ <xsd:documentation>
+ Abstract description of a path to be installed. This can
+ either be a single explicit path (e.g., ``&lt;Path
+ name="/etc/foo.conf"/&gt;``) or a glob that matches a set of
+ paths (e.g., ``&lt;Path glob="/etc/foo/*"/&gt;``). Path
+ globbing may not work for some dynamically handled Path
+ entries, for instance :ref:`Packages client configs
+ &lt;generating-client-configs&gt;`.
+ </xsd:documentation>
+ </xsd:annotation>
+ <xsd:attribute type='xsd:string' name='name'>
+ <xsd:annotation>
+ <xsd:documentation>
+ Install the single named path. Either ``name`` or
+ :xml:attribute:`PathEntry:glob` must be specified.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute type="xsd:string" name="glob">
+ <xsd:annotation>
+ <xsd:documentation>
+ Install all Cfg entries matching the given glob. Either
+ ``glob`` or :xml:attribute:`PathEntry:name` must be
+ specified.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
<xsd:attribute type='xsd:string' name='altsrc' use='optional'/>
<xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>