summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-11-03 09:15:12 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-11-17 08:13:20 -0500
commit7d4325f5e12a40b5b8ae8fc85a4e934b94dd1adf (patch)
treeb7f0b4beedb1331347ea639b7a70c3c08dd3343e /schemas
parent2e1e5c6283a16937c02204d4551bd20c29849a11 (diff)
downloadbcfg2-7d4325f5e12a40b5b8ae8fc85a4e934b94dd1adf.tar.gz
bcfg2-7d4325f5e12a40b5b8ae8fc85a4e934b94dd1adf.tar.bz2
bcfg2-7d4325f5e12a40b5b8ae8fc85a4e934b94dd1adf.zip
added support for default/mandatory/optional package groups
Diffstat (limited to 'schemas')
-rw-r--r--schemas/pkgtype.xsd2
-rw-r--r--schemas/types.xsd9
2 files changed, 11 insertions, 0 deletions
diff --git a/schemas/pkgtype.xsd b/schemas/pkgtype.xsd
index 23768e518..83e3f0e48 100644
--- a/schemas/pkgtype.xsd
+++ b/schemas/pkgtype.xsd
@@ -17,6 +17,8 @@
<xsd:attribute type="xsd:string" name="name"/>
<xsd:attribute type="xsd:string" name="group"/>
<xsd:attribute type="xsd:string" name="verify" use="optional"/>
+ <xsd:attribute type="PackageGroupTypeEnum" name="type"
+ use="optional"/>
<xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
diff --git a/schemas/types.xsd b/schemas/types.xsd
index dde7a856b..689e693b7 100644
--- a/schemas/types.xsd
+++ b/schemas/types.xsd
@@ -21,6 +21,15 @@
</xsd:restriction>
</xsd:simpleType>
+ <xsd:simpleType name="PackageGroupTypeEnum">
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="optional"/>
+ <xsd:enumeration value="default"/>
+ <xsd:enumeration value="mandatory"/>
+ <xsd:enumeration value="all"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
<xsd:simpleType name='PathTypeEnum'>
<xsd:restriction base='xsd:string'>
<xsd:enumeration value='device' />