diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-12-03 16:16:41 -0600 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-12-03 16:16:41 -0600 |
commit | 350db854319af526818c2ffcac285ae445b0213d (patch) | |
tree | d13d486ab856c37ad194653f46ac329bb75b3338 /schemas | |
parent | a8c2c14b0bf39d101f3ecc4b3aafc01fabad02d5 (diff) | |
parent | 2983b0c358ef25e7c34ccdeb3ab1f8d6a6f9ae90 (diff) | |
download | bcfg2-350db854319af526818c2ffcac285ae445b0213d.tar.gz bcfg2-350db854319af526818c2ffcac285ae445b0213d.tar.bz2 bcfg2-350db854319af526818c2ffcac285ae445b0213d.zip |
Merge branch 'master' of github.com:Bcfg2/bcfg2
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/bundle.xsd | 30 | ||||
-rw-r--r-- | schemas/rules.xsd | 14 | ||||
-rw-r--r-- | schemas/types.xsd | 17 |
3 files changed, 60 insertions, 1 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd index 6306b6da4..1fcf82c27 100644 --- a/schemas/bundle.xsd +++ b/schemas/bundle.xsd @@ -36,7 +36,7 @@ <xsd:documentation> Abstract implementation of a Path entry. The entry will either be handled by Cfg, TGenshi, or another - DirectoryBacked plugin; or handled by Rules, in which case + Generator plugin; or handled by Rules, in which case the full specification of this entry will be included in Rules. </xsd:documentation> @@ -66,6 +66,20 @@ </xsd:documentation> </xsd:annotation> </xsd:element> + <xsd:element name='POSIXUser' type='StructureEntry'> + <xsd:annotation> + <xsd:documentation> + Abstract description of a POSIXUser entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name='POSIXGroup' type='StructureEntry'> + <xsd:annotation> + <xsd:documentation> + Abstract description of a POSIXGroup entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> <xsd:element name='PostInstall' type='StructureEntry'> <xsd:annotation> <xsd:documentation> @@ -111,6 +125,20 @@ </xsd:documentation> </xsd:annotation> </xsd:element> + <xsd:element name='BoundPOSIXUser' type='POSIXUserType'> + <xsd:annotation> + <xsd:documentation> + Fully bound description of a POSIXUser entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name='BoundPOSIXGroup' type='POSIXGroupType'> + <xsd:annotation> + <xsd:documentation> + Fully bound description of a POSIXGroup entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> <xsd:element name='Group' type='GroupType'> <xsd:annotation> <xsd:documentation> diff --git a/schemas/rules.xsd b/schemas/rules.xsd index 2f4f805c0..241ffe5bf 100644 --- a/schemas/rules.xsd +++ b/schemas/rules.xsd @@ -57,6 +57,20 @@ </xsd:documentation> </xsd:annotation> </xsd:element> + <xsd:element name='POSIXUser' type='POSIXUserType'> + <xsd:annotation> + <xsd:documentation> + Fully bound description of a POSIXUser entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> + <xsd:element name='POSIXGroup' type='POSIXGroupType'> + <xsd:annotation> + <xsd:documentation> + Fully bound description of a POSIXGroup entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> <xsd:element name='PostInstall' type='PostInstallType'> <xsd:annotation> <xsd:documentation> diff --git a/schemas/types.xsd b/schemas/types.xsd index 1edde8754..a36693b2d 100644 --- a/schemas/types.xsd +++ b/schemas/types.xsd @@ -220,4 +220,21 @@ <xsd:attribute type="xsd:string" name="selinuxuser"/> <xsd:attributeGroup ref="py:genshiAttrs"/> </xsd:complexType> + + <xsd:complexType name="POSIXUserType"> + <xsd:choice minOccurs='0' maxOccurs='unbounded'> + <xsd:element name='MemberOf' type='xsd:string'/> + </xsd:choice> + <xsd:attribute type="xsd:string" name="name" use="required"/> + <xsd:attribute type="xsd:integer" name="uid"/> + <xsd:attribute type="xsd:string" name="group"/> + <xsd:attribute type="xsd:string" name="gecos"/> + <xsd:attribute type="xsd:string" name="home"/> + <xsd:attribute type="xsd:string" name="shell"/> + </xsd:complexType> + + <xsd:complexType name="POSIXGroupType"> + <xsd:attribute type="xsd:string" name="name" use="required"/> + <xsd:attribute type="xsd:integer" name="gid"/> + </xsd:complexType> </xsd:schema> |