summaryrefslogtreecommitdiffstats
path: root/schemas/bundle.xsd
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2015-01-03 13:07:14 -0600
committerSol Jerome <sol.jerome@gmail.com>2015-01-03 13:07:14 -0600
commit99f7a6addbad7c7f4bc4e1bcb5238f039e1c5692 (patch)
tree852aa12fe61fb9559f3888fed7b1bf234de6b9e9 /schemas/bundle.xsd
parent128efd62c9acf84c54f071043e1ea954da3361dd (diff)
parentd4ae5e04739d9a8e0732dd35ee28c14b0ff96957 (diff)
downloadbcfg2-99f7a6addbad7c7f4bc4e1bcb5238f039e1c5692.tar.gz
bcfg2-99f7a6addbad7c7f4bc4e1bcb5238f039e1c5692.tar.bz2
bcfg2-99f7a6addbad7c7f4bc4e1bcb5238f039e1c5692.zip
Merge branch 'bundle-modification-deps' of https://github.com/AlexanderS/bcfg2
Conflicts: src/lib/Bcfg2/Client/__init__.py
Diffstat (limited to 'schemas/bundle.xsd')
-rw-r--r--schemas/bundle.xsd29
1 files changed, 29 insertions, 0 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd
index aeacd0517..4a11a1d1b 100644
--- a/schemas/bundle.xsd
+++ b/schemas/bundle.xsd
@@ -263,6 +263,13 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
+ <xsd:element name='RequiredBundle' type='RequiredBundleType'>
+ <xsd:annotation>
+ <xsd:documentation>
+ Nesting Bundle tags to specify dependencies to other bundles.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
</xsd:choice>
</xsd:group>
@@ -300,6 +307,28 @@
<xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
+ <xsd:complexType name='RequiredBundleType'>
+ <xsd:attribute type='xsd:string' name='name' use='required'>
+ <xsd:annotation>
+ <xsd:documentation>
+ The name of the required bundle.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute type='xsd:boolean' name='inherit_modification'>
+ <xsd:annotation>
+ <xsd:documentation>
+ Specify how to handle modifications in the required
+ bundle. You can either ignore the modifications (this
+ is the default) or you can inherit the modifications
+ so that Services in the current Bundle are restarted
+ if the required Bundle is modified.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
+ </xsd:complexType>
+
<xsd:complexType name='BundleType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:group ref="bundleElements"/>