From b806661b7790a4fd1a10da4934b16e58e687c1e4 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Mon, 2 Mar 2009 09:51:15 +0000
Subject: [PATCH] A doc update and a small indentation fix
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This adds a small paragraph about the β€œmaster” role of a node, and fixes
a wrong indentation in the bash completion file.

Reviewed-by: imsnah
---
 doc/examples/bash_completion.in |  8 ++++----
 man/ganeti.sgml                 | 13 +++++++++++++
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/doc/examples/bash_completion.in b/doc/examples/bash_completion.in
index 7e43ed84e..0dde8ab7c 100644
--- a/doc/examples/bash_completion.in
+++ b/doc/examples/bash_completion.in
@@ -106,10 +106,10 @@ _gnt_cluster()
       # complete arguments to the command
       case "$prev" in
         "queue")
-        COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
-        ;;
-      *)
-        ;;
+          COMPREPLY=( $(compgen -W "drain undrain info" -- ${cur}) )
+          ;;
+	*)
+          ;;
       esac
   esac
 
diff --git a/man/ganeti.sgml b/man/ganeti.sgml
index 9a5ddd022..eed8ccd5d 100644
--- a/man/ganeti.sgml
+++ b/man/ganeti.sgml
@@ -92,6 +92,19 @@
 
       <para>Each node can be in one of the following states:
         <variablelist>
+          <varlistentry>
+            <term>master</term>
+            <listitem>
+              <para>
+                Only one node per cluster can be in this role, and
+                this node is the one holding the authoritative copy of
+                the cluster configuration and the one that can
+                actually execute commands on the cluster and modify
+                the cluster state. See more details under
+                <emphasis>Cluster configuration</emphasis>.
+              </para>
+            </listitem>
+          </varlistentry>
           <varlistentry>
             <term>master_candidate</term>
             <listitem>
-- 
GitLab