Gitweb:
http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=...
Commit: e7570e2cf3535cac46f45b747d4f3c8bab3b413e
Parent: 782af69a42d72df92ca9921cc9e2dbb8c6408d35
Author: Lon Hohberger <lhh(a)redhat.com>
AuthorDate: Wed Jan 13 07:34:37 2010 -0500
Committer: Lon Hohberger <lhh(a)redhat.com>
CommitterDate: Wed Jan 13 09:22:06 2010 -0500
config: Make nodeid attribute required
Fedora: bz554968
Resolves: bz555047
Signed-off-by: Lon Hohberger <lhh(a)redhat.com>
---
config/tools/xml/cluster.rng.in | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/config/tools/xml/cluster.rng.in b/config/tools/xml/cluster.rng.in
index 4344fda..59996a3 100644
--- a/config/tools/xml/cluster.rng.in
+++ b/config/tools/xml/cluster.rng.in
@@ -666,6 +666,10 @@ To validate your cluster.conf against this schema, run:
address of the node." rha:sample="node-01">
<data type="ID"/>
</attribute>
+ <attribute name="nodeid" rha:description="Each node requires
+ a unique integer value as its node ID." rha:sample="1">
+ <data type="positiveInteger"/>
+ </attribute>
<optional>
<attribute name="votes" rha:description="The number of votes a
node can cast" rha:sample="2" rha:default="1">
@@ -673,12 +677,6 @@ To validate your cluster.conf against this schema, run:
</attribute>
</optional>
<optional>
- <attribute name="nodeid" rha:description="Each node requires
- a unique integer value as its node ID." rha:sample="1">
- <data type="positiveInteger"/>
- </attribute>
- </optional>
- <optional>
<attribute name="weight" rha:description=""
rha:sample=""/>
</optional>
<optional>