summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-05-16 11:19:17 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-05-16 11:19:17 -0500
commit1e2131e0e64557320f84fa98b7d0d1d022bd725e (patch)
treec875ed8909058a0a8d29308e38229faba3267bf1 /schemas
parent0168732743ea6ae76c65b32e7f91dc92582871b2 (diff)
downloadbcfg2-1e2131e0e64557320f84fa98b7d0d1d022bd725e.tar.gz
bcfg2-1e2131e0e64557320f84fa98b7d0d1d022bd725e.tar.bz2
bcfg2-1e2131e0e64557320f84fa98b7d0d1d022bd725e.zip
doc: Better document PostInstall entries
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'schemas')
-rw-r--r--schemas/bundle.xsd9
-rw-r--r--schemas/rules.xsd5
2 files changed, 14 insertions, 0 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd
index b226e1078..c0a7e08ac 100644
--- a/schemas/bundle.xsd
+++ b/schemas/bundle.xsd
@@ -55,6 +55,15 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
+ <xsd:element name='PostInstall' type='StructureEntry'>
+ <xsd:annotation>
+ <xsd:documentation>
+ PostInstall entries are deprecated in favor of Action
+ entries. Actions can do everything PostInstall entries can
+ do and more.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
<xsd:element name='BoundPackage' type='PackageType'>
<xsd:annotation>
<xsd:documentation>
diff --git a/schemas/rules.xsd b/schemas/rules.xsd
index bc8a4af80..101b62384 100644
--- a/schemas/rules.xsd
+++ b/schemas/rules.xsd
@@ -24,6 +24,10 @@
<xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
+ <xsd:complexType name='PostInstallType'>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ </xsd:complexType>
+
<xsd:complexType name='PathType'>
<xsd:attribute type='PathTypeEnum' name='type' use='required'/>
<xsd:attribute type='xsd:string' name='name' use='required'/>
@@ -68,6 +72,7 @@
<xsd:element name='Package' type='PackageType'/>
<xsd:element name='Path' type='PathType'/>
<xsd:element name='Action' type='ActionType'/>
+ <xsd:element name='PostInstall' type='PostInstallType'/>
<xsd:element name='Group' type='RContainerType'/>
<xsd:element name='Client' type='RContainerType'/>
<xsd:element ref="py:def"/>