diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-01-27 01:23:02 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-01-27 01:23:02 +0000 |
commit | e1d8819f03c1afd43a04293ee645ec1f075be23e (patch) | |
tree | 1e67131938fd5e7ae58714288d16a9678c09acc9 /schemas | |
parent | d5fc9e452fd8f53ea08e3d3527c880d5e0d9f85f (diff) | |
download | bcfg2-e1d8819f03c1afd43a04293ee645ec1f075be23e.tar.gz bcfg2-e1d8819f03c1afd43a04293ee645ec1f075be23e.tar.bz2 bcfg2-e1d8819f03c1afd43a04293ee645ec1f075be23e.zip |
schemas: Fix BoundPath schema for Bundles (Reported by gregcoit on irc) [bugfix]
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5705 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/bundle.xsd | 4 | ||||
-rw-r--r-- | schemas/pathentry.xsd | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd index 5b98fcf7b..894dad116 100644 --- a/schemas/bundle.xsd +++ b/schemas/bundle.xsd @@ -24,7 +24,7 @@ <xsd:element name='Permissions' type='StructureEntry'/> <xsd:element name='Action' type='StructureEntry'/> <xsd:element name='BoundPackage' type='PackageType'/> - <xsd:element name='BoundPath' type='PathEntry'/> + <xsd:element name='BoundPath' type='BoundPathEntry'/> <xsd:element name='BoundService' type='ServiceType'/> <xsd:element name='BoundDirectory' type='DirectoryType'/> <xsd:element name='BoundSymLink' type='SymLinkType'/> @@ -48,7 +48,7 @@ <xsd:element name='Permissions' type='StructureEntry'/> <xsd:element name='Action' type='StructureEntry'/> <xsd:element name='BoundPackage' type='PackageType'/> - <xsd:element name='BoundPath' type='PathEntry'/> + <xsd:element name='BoundPath' type='BoundPathEntry'/> <xsd:element name='BoundService' type='ServiceType'/> <xsd:element name='BoundDirectory' type='DirectoryType'/> <xsd:element name='BoundSymLink' type='SymLinkType'/> diff --git a/schemas/pathentry.xsd b/schemas/pathentry.xsd index db1a29e1a..e564aaa90 100644 --- a/schemas/pathentry.xsd +++ b/schemas/pathentry.xsd @@ -12,4 +12,13 @@ <xsd:attribute type='xsd:string' name='name' use='required'/> <xsd:attribute type='xsd:string' name='altsrc' /> </xsd:complexType> + + <xsd:complexType name='BoundPathEntry'> + <xsd:attribute type='xsd:string' name='name' use='required'/> + <xsd:attribute type='xsd:string' name='group' use='optional'/> + <xsd:attribute type='xsd:string' name='owner' use='optional'/> + <xsd:attribute type='xsd:string' name='perms' use='optional'/> + <xsd:attribute type='xsd:string' name='type' use='optional'/> + <xsd:attribute type='xsd:string' name='altsrc' use='optional'/> + </xsd:complexType> </xsd:schema> |