summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2010-07-25 15:30:22 +0000
committerSol Jerome <sol.jerome@gmail.com>2010-07-30 11:53:15 -0500
commit0e9daba224deee78a25e9ec8d2f7096d2d76c3c4 (patch)
tree1a8f514eeb55686eca1a99b8458fdc7973a87acf /schemas
parent09806826638be2c3fd3ef3888b8c4a040a57fedb (diff)
downloadbcfg2-0e9daba224deee78a25e9ec8d2f7096d2d76c3c4.tar.gz
bcfg2-0e9daba224deee78a25e9ec8d2f7096d2d76c3c4.tar.bz2
bcfg2-0e9daba224deee78a25e9ec8d2f7096d2d76c3c4.zip
Packages: Allow for whitelisting
Patch from IRConan to allow for whitelisted packages in sources. git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5988 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas')
-rw-r--r--schemas/packages.xsd10
1 files changed, 7 insertions, 3 deletions
diff --git a/schemas/packages.xsd b/schemas/packages.xsd
index 1b6d465d7..342920c2b 100644
--- a/schemas/packages.xsd
+++ b/schemas/packages.xsd
@@ -20,9 +20,13 @@
<xsd:element name="Version" type="xsd:string" minOccurs='0'
maxOccurs='1'/>
<xsd:element name="Component" type="xsd:string" minOccurs='0'
- maxOccurs='unbounded'/>
- <xsd:element name="Blacklist" type="xsd:string" minOccurs='0'
- maxOccurs='unbounded'/>
+ maxOccurs='unbounded'/>
+ <xsd:choice>
+ <xsd:element name="Blacklist" type="xsd:string" minOccurs='0'
+ maxOccurs='unbounded'/>
+ <xsd:element name="Whitelist" type="xsd:string" minOccurs='0'
+ maxOccurs='unbounded'/>
+ </xsd:choice>
<xsd:element name="Arch" type="xsd:string" minOccurs='1'
maxOccurs='unbounded'/>
</xsd:sequence>