summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-05-23 10:47:13 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-05-23 10:47:13 -0400
commit4c4534c2302c869f5f8258eb7107dcf531e0edc7 (patch)
tree42c98b2d2540f93d32a389dce7b9ce6b116bccdd /schemas
parentff5f8989262f9c3c449bd68b459fec8e955f34c9 (diff)
downloadbcfg2-4c4534c2302c869f5f8258eb7107dcf531e0edc7.tar.gz
bcfg2-4c4534c2302c869f5f8258eb7107dcf531e0edc7.tar.bz2
bcfg2-4c4534c2302c869f5f8258eb7107dcf531e0edc7.zip
added ability to specify arbitrary repository options to Packages
Diffstat (limited to 'schemas')
-rw-r--r--schemas/packages.xsd7
1 files changed, 7 insertions, 0 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd
index c29a85ecf..c4252194f 100644
--- a/schemas/packages.xsd
+++ b/schemas/packages.xsd
@@ -18,11 +18,18 @@
</xsd:restriction>
</xsd:simpleType>
+ <xsd:complexType name="RepoOptionsType">
+ <xsd:attribute type="xsd:boolean" name="serveronly"/>
+ <xsd:attribute type="xsd:boolean" name="clientonly"/>
+ <xsd:anyAttribute processContents="lax"/>
+ </xsd:complexType>
+
<xsd:complexType name="sourceType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="Component" type="xsd:string"/>
<xsd:element name="Arch" type="xsd:string"/>
<xsd:element name="GPGKey" type="xsd:string"/>
+ <xsd:element name="Options" type="RepoOptionsType"/>
<xsd:choice>
<xsd:element name="Blacklist" type="xsd:string"/>
<xsd:element name="Whitelist" type="xsd:string"/>