diff options
author | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-30 05:03:51 +0100 |
---|---|---|
committer | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-30 05:03:51 +0100 |
commit | 44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b (patch) | |
tree | bbbad6988088f69214a48a13e237132ee64f6e03 /schemas | |
parent | ba1a18e060a8614b3dcb41b94a7ad37e89f1dfdf (diff) | |
parent | c11f4f790d710721dcc99f87cfcbafb49e9a4715 (diff) | |
download | bcfg2-44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b.tar.gz bcfg2-44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b.tar.bz2 bcfg2-44dba9dc7eb82c6c7073ca4a01128ad779ac0f4b.zip |
Merge branch 'debconf'
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/bundle.xsd | 14 | ||||
-rw-r--r-- | schemas/rules.xsd | 7 | ||||
-rw-r--r-- | schemas/types.xsd | 46 |
3 files changed, 67 insertions, 0 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd index 4a11a1d1b..7d7a141b7 100644 --- a/schemas/bundle.xsd +++ b/schemas/bundle.xsd @@ -69,6 +69,13 @@ </xsd:documentation> </xsd:annotation> </xsd:element> + <xsd:element name='Conf' type='StructureEntry'> + <xsd:annotation> + <xsd:documentation> + Abstract description of a Conf entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> <xsd:element name='SEBoolean' type='SELinuxStructure'> <xsd:annotation> <xsd:documentation> @@ -238,6 +245,13 @@ </xsd:documentation> </xsd:annotation> </xsd:element> + <xsd:element name='BoundConf' type='ConfType'> + <xsd:annotation> + <xsd:documentation> + Fully bound description of a Conf entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> <xsd:element name='Group' type='BundlerGroupType'> <xsd:annotation> <xsd:documentation> diff --git a/schemas/rules.xsd b/schemas/rules.xsd index fb41ad9d4..7afc0f85e 100644 --- a/schemas/rules.xsd +++ b/schemas/rules.xsd @@ -122,6 +122,13 @@ </xsd:documentation> </xsd:annotation> </xsd:element> + <xsd:element name='Conf' type='ConfType'> + <xsd:annotation> + <xsd:documentation> + Fully bound description of a Conf entry. + </xsd:documentation> + </xsd:annotation> + </xsd:element> <xsd:element name='Group' type='RContainerType'> <xsd:annotation> <xsd:documentation> diff --git a/schemas/types.xsd b/schemas/types.xsd index 5165d186b..59e9149e2 100644 --- a/schemas/types.xsd +++ b/schemas/types.xsd @@ -106,6 +106,12 @@ </xsd:restriction> </xsd:simpleType> + <xsd:simpleType name="ConfTypeEnum"> + <xsd:restriction base="xsd:string"> + <xsd:enumeration value="debconf"/> + </xsd:restriction> + </xsd:simpleType> + <xsd:complexType name='ActionType'> <xsd:annotation> <xsd:documentation> @@ -536,4 +542,44 @@ </xsd:attribute> <xsd:attributeGroup ref="py:genshiAttrs"/> </xsd:complexType> + + <xsd:complexType name="ConfType"> + <xsd:annotation> + <xsd:documentation> + The Conf tag allows you to set configurations options client + machines (f.e. debconf). + </xsd:documentation> + </xsd:annotation> + <xsd:attribute type="xsd:token" name="name" use="required"> + <xsd:annotation> + <xsd:documentation> + Name of the configuration setting. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute type="xsd:string" name="value"> + <xsd:annotation> + <xsd:documentation> + The value of the configuration setting. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute name="type" type="ConfTypeEnum"> + <xsd:annotation> + <xsd:documentation> + Driver to use on the client to manage this configuration. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attribute type="xsd:boolean" name="ignore" default="false"> + <xsd:annotation> + <xsd:documentation> + If you set this to "true" the configuration setting will be ignored + and not updated. This is usefull to remove a setting from the list of + extra entries. + </xsd:documentation> + </xsd:annotation> + </xsd:attribute> + <xsd:attributeGroup ref="py:genshiAttrs"/> + </xsd:complexType> </xsd:schema> |