diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-12-03 10:51:34 -0600 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-12-03 10:52:13 -0600 |
commit | 33234d5dae565e6520bbdb65d67fbaed03df4d43 (patch) | |
tree | 232ec275370a5d186095bf289897395d329c7232 /schemas | |
parent | 1d4b0118ced1b198587fd75c549e2b394ff71531 (diff) | |
download | bcfg2-33234d5dae565e6520bbdb65d67fbaed03df4d43.tar.gz bcfg2-33234d5dae565e6520bbdb65d67fbaed03df4d43.tar.bz2 bcfg2-33234d5dae565e6520bbdb65d67fbaed03df4d43.zip |
added builtin support for creating users and groups
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> |