Skip to contentSkip to conversation

minor edits of cluster.rng (fixed head part)

PATCH New Jan Pokorný 2 participants 5 messages Aug 16, 2012 – Aug 17, 2012

lore
Share & tools
lore
#0 lore raw

cover minor edits of cluster.rng (fixed head part)

Jan Pokorn? (3):
cluster.rng: fix trailing whitespaces in head cluster.rng: fencedevice initial non-digit note to description cluster.rng: retab the head (use space uniformly)

 config/tools/xml/cluster.rng.in.head | 41 ++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 20 deletions(-)
Signature · 1 line
1.7.11.2
#1 lore raw

PATCH 1/3 cluster.rng: fix trailing whitespaces in head

---
 config/tools/xml/cluster.rng.in.head | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
config/tools/xml/cluster.rng.in.head +2 -2
index 4e3d901..af6aa12 100644
@@ -72,7 +72,7 @@ To validate your cluster.conf against this schema, run:
     </optional>
     <optional>
       <attribute name="disallowed" rha:description="Set this to 1 enable
-         cman's Disallowed mode. This is usually only needed for 
+         cman's Disallowed mode. This is usually only needed for
          backwards compatibility." rha:sample="1">
        <data type="nonNegativeInteger"/>
       </attribute>
@@ -1068,7 +1068,7 @@ To validate your cluster.conf against this schema, run:
      </optional>
 
      <optional>
-      <attribute name="ttl" rha:description="The multicast TTL 
+      <attribute name="ttl" rha:description="The multicast TTL
           to use on the second interface. cman(5)"/>
      </optional>
     </element>
Signature · 1 line
1.7.11.2
#2 lore raw

PATCH 2/3 cluster.rng: fencedevice initial non-digit note to description

In reply to Jan Pokorný

(as an echo of rhbz#808441)

---
 config/tools/xml/cluster.rng.in.head | 1 +
 1 file changed, 1 insertion(+)
config/tools/xml/cluster.rng.in.head +1 -0
index af6aa12..b994096 100644
@@ -820,6 +820,7 @@ To validate your cluster.conf against this schema, run:
 
      <attribute name="name" rha:description="A name that is used to
          reference this fence device from clusternode fence section.
+         For XML validation purposes, it shall not start with a digit.
          fenced(8)">
       <data type="ID"/>
      </attribute>
Signature · 1 line
1.7.11.2
#3 lore raw

PATCH 3/3 cluster.rng: retab the head (use space uniformly)

In reply to Jan Pokorný
---
 config/tools/xml/cluster.rng.in.head | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)
config/tools/xml/cluster.rng.in.head +18 -18
index b994096..003ceaf 100644
@@ -283,10 +283,10 @@ To validate your cluster.conf against this schema, run:
         chosen." rha:sample="active"/>
    </optional>
    <optional>
-    <attribute name="rrp_problem_count_threshold"
-	rha:description="This specifies the number of times a problem is detected
-        with a link before setting the link faulty.  Once a link is set faulty, no
-        more data is transmitted upon it. Corosync default is 10, cman default is 3"
+    <attribute name="rrp_problem_count_threshold" rha:description="This
+        specifies the number of times a problem is detected with a link
+        before setting the link faulty.  Once a link is set faulty, no more
+        data is transmitted upon it. Corosync default is 10, cman default is 3"
         rha:default="3" rha:sample="5"/>
    </optional>
    <optional>
@@ -434,36 +434,36 @@ To validate your cluster.conf against this schema, run:
 <!-- fence_daemon block -->
  <optional>
   <element name="fence_daemon" rha:description="Configuration for fenced
-	daemon. fenced(8)">
+      daemon. fenced(8)">
    <optional>
     <attribute name="post_join_delay" rha:description="Number of seconds
-	the daemon will wait before fencing any victims after a node joins
-	the fence domain. fenced(8)"/>
+        the daemon will wait before fencing any victims after a node joins
+        the fence domain. fenced(8)"/>
    </optional>
    <optional>
     <attribute name="post_fail_delay" rha:description="Number of seconds
-	the daemon will wait before fencing any victims after a node
-	fails. fenced(8)"/>
+        the daemon will wait before fencing any victims after a node
+        fails. fenced(8)"/>
    </optional>
    <optional>
     <attribute name="override_path" rha:description="Location of a FIFO
-	used for communication between fenced and fence_ack_manual.
-	fenced(8)"/>
+        used for communication between fenced and fence_ack_manual.
+        fenced(8)"/>
    </optional>
    <optional>
     <attribute name="override_time" rha:description="Number of seconds to
-	wait for a manual override after a failed fencing attempt before
-	the next attempt. fenced(8)"/>
+        wait for a manual override after a failed fencing attempt before
+        the next attempt. fenced(8)"/>
    </optional>
    <optional>
     <attribute name="clean_start" rha:description="Set to 1 to disable
-	startup fencing. fenced(8)"/>
+        startup fencing. fenced(8)"/>
    </optional>
 
    <optional>
     <attribute name="skip_undefined" rha:description="Set to 1 to disable
-	startup fencing of nodes with no fence methods defined.
-	fenced(8)"/>
+        startup fencing of nodes with no fence methods defined.
+        fenced(8)"/>
    </optional>
   </element>
  </optional>
@@ -482,12 +482,12 @@ To validate your cluster.conf against this schema, run:
       if domU recovery is expected to be automatic.">
     <optional>
       <attribute name="debug" rha:description="" >
-	<data type="integer"/>
+        <data type="integer"/>
       </attribute>
     </optional>
     <optional>
       <attribute name="port" rha:description="" >
-	<data type="integer"/>
+        <data type="integer"/>
       </attribute>
     </optional>
     <optional>
Signature · 1 line
1.7.11.2
#4 lore raw

cover minor edits of cluster.rng (fixed head part)

In reply to Jan Pokorný

ACK all 3 of them.

please push them to STABLE32 branch.

Fabio

Quoted 9 lines · Jan Pokorn?

Jan Pokorn? (3):
cluster.rng: fix trailing whitespaces in head cluster.rng: fencedevice initial non-digit note to description cluster.rng: retab the head (use space uniformly)

 config/tools/xml/cluster.rng.in.head | 41 ++++++++++++++++++------------------
 1 file changed, 21 insertions(+), 20 deletions(-)