Blame SOURCES/bz1357945-02-doc-fixes-regarding-clufter.patch

15f218
From 4d8b5102f6504b2faf8219e799244f37dde2db10 Mon Sep 17 00:00:00 2001
15f218
From: Tomas Jelinek <tojeline@redhat.com>
15f218
Date: Wed, 3 Aug 2016 14:55:31 +0200
15f218
Subject: [PATCH] doc: fixes regarding clufter
15f218
15f218
---
15f218
 pcs/pcs.8    |  8 ++++----
15f218
 pcs/usage.py | 15 +++++++++------
15f218
 2 files changed, 13 insertions(+), 10 deletions(-)
15f218
15f218
diff --git a/pcs/pcs.8 b/pcs/pcs.8
15f218
index 0e8e967..09c0235 100644
15f218
--- a/pcs/pcs.8
15f218
+++ b/pcs/pcs.8
15f218
@@ -625,13 +625,13 @@ checkpoint restore <checkpoint_number>
15f218
 Restore cluster configuration to specified checkpoint.
15f218
 .TP
15f218
 import\-cman output=<filename> [input=<filename>] [\fB\-\-interactive\fR] [output\-format=corosync.conf|cluster.conf] [dist=<dist>]
15f218
-Converts CMAN cluster configuration to Pacemaker cluster configuration.  Converted configuration will be saved to 'output' file.  To send the configuration to the cluster nodes the 'pcs config restore' command can be used.  If \fB\-\-interactive\fR is specified you will be prompted to solve incompatibilities manually.  If no input is specified /etc/cluster/cluster.conf will be used.  You can force to create output containing either cluster.conf or corosync.conf using the output-format option.  Optionally you can specify output version by setting 'dist' option e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  If 'dist' is not specified, it defaults to this node's version if that matches output-format, otherwise redhat,6.7 is used for cluster.conf and redhat,7.1 is used for corosync.conf.
15f218
+Converts CMAN cluster configuration to Pacemaker cluster configuration.  Converted configuration will be saved to 'output' file.  To send the configuration to the cluster nodes the 'pcs config restore' command can be used.  If \fB\-\-interactive\fR is specified you will be prompted to solve incompatibilities manually.  If no input is specified /etc/cluster/cluster.conf will be used.  You can force to create output containing either cluster.conf or corosync.conf using the output-format option.  Optionally you can specify output version by setting 'dist' option e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  You can get the list of supported dist values by running the "clufter \fB\-\-list-dists\fR" command.  If 'dist' is not specified, it defaults to this node's version if that matches output-format, otherwise redhat,6.7 is used for cluster.conf and redhat,7.1 is used for corosync.conf.
15f218
 .TP
15f218
 import\-cman output=<filename> [input=<filename>] [\fB\-\-interactive\fR] output\-format=pcs-commands|pcs-commands-verbose [dist=<dist>]
15f218
 Converts CMAN cluster configuration to a list of pcs commands which recreates the same cluster as Pacemaker cluster when executed.  Commands will be saved to 'output' file.  For other options see above.
15f218
 .TP
15f218
-export pcs\-commands|pcs\-commands\-verbose output=<filename> [dist=<dist>]
15f218
-Creates a list of pcs commands which upon execution recreates the current cluster running on this node.  Commands will be saved to 'output' file or written to stdout if 'output' is not specified.  Use pcs\-commands to get a simple list of commands, whereas pcs\-commands\-verbose creates a list including comments and debug messages.  Optionally specify output version by setting 'dist' option e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  If 'dist' is not specified, it defaults to this node's version.
15f218
+export pcs\-commands|pcs\-commands\-verbose [output=<filename>] [dist=<dist>]
15f218
+Creates a list of pcs commands which upon execution recreates the current cluster running on this node.  Commands will be saved to 'output' file or written to stdout if 'output' is not specified.  Use pcs\-commands to get a simple list of commands, whereas pcs\-commands\-verbose creates a list including comments and debug messages.  Optionally specify output version by setting 'dist' option e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  You can get the list of supported dist values by running the "clufter \fB\-\-list-dists\fR" command.  If 'dist' is not specified, it defaults to this node's version.
15f218
 .SS "pcsd"
15f218
 .TP
15f218
 certkey <certificate file> <key file>
15f218
@@ -644,7 +644,7 @@ clear-auth [\fB\-\-local\fR] [\fB\-\-remote\fR]
15f218
 Removes all system tokens which allow pcs/pcsd on the current system to authenticate with remote pcs/pcsd instances and vice\-versa.  After this command is run this node will need to be re\-authenticated with other nodes (using 'pcs cluster auth').  Using \fB\-\-local\fR only removes tokens used by local pcs (and pcsd if root) to connect to other pcsd instances, using \fB\-\-remote\fR clears authentication tokens used by remote systems to connect to the local pcsd instance.
15f218
 .SS "node"
15f218
 .TP
15f218
-attribute [[<node>] [\fB\-\-name\fR <attr>] | <node> <name>=<value> ...]
15f218
+attribute [[<node>] [\fB\-\-name\fR <name>] | <node> <name>=<value> ...]
15f218
 Manage node attributes.  If no parameters are specified, show attributes of all nodes.  If one parameter is specified, show attributes of specified node.  If \fB\-\-name\fR is specified, show specified attribute's value from all nodes.  If more parameters are specified, set attributes of specified node.  Attributes can be removed by setting an attribute without a value.
15f218
 .TP
15f218
 maintenance [\fB\-\-all\fR] | [<node>]...
15f218
diff --git a/pcs/usage.py b/pcs/usage.py
15f218
index 7cfb33e..ef60b64 100644
15f218
--- a/pcs/usage.py
15f218
+++ b/pcs/usage.py
15f218
@@ -1182,10 +1182,11 @@ Commands:
15f218
         /etc/cluster/cluster.conf will be used.  You can force to create output
15f218
         containing either cluster.conf or corosync.conf using the output-format
15f218
         option.  Optionally you can specify output version by setting 'dist'
15f218
-        option e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.
15f218
-        If 'dist' is not specified, it defaults to this nodei's version if that
15f218
-        matches output-format, otherwise redhat,6.7 is used for cluster.conf
15f218
-        and redhat,7.1 is used for corosync.conf.
15f218
+        option e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  You
15f218
+        can get the list of supported dist values by running the "clufter
15f218
+        --list-dists" command.  If 'dist' is not specified, it defaults to this
15f218
+        node's version if that matches output-format, otherwise redhat,6.7 is
15f218
+        used for cluster.conf and redhat,7.1 is used for corosync.conf.
15f218
 
15f218
     import-cman output=<filename> [input=<filename>] [--interactive]
15f218
             output-format=pcs-commands|pcs-commands-verbose [dist=<dist>]
15f218
@@ -1200,8 +1201,10 @@ Commands:
15f218
         pcs-commands to get a simple list of commands, whereas
15f218
         pcs-commands-verbose creates a list including comments and debug
15f218
         messages.  Optionally specify output version by setting 'dist' option
15f218
-        e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  If 'dist'
15f218
-        is not specified, it defaults to this node's version.
15f218
+        e. g. rhel,6.8 or redhat,7.3 or debian,7 or ubuntu,trusty.  You can get
15f218
+        the list of supported dist values by running the "clufter --list-dists"
15f218
+        command.  If 'dist' is not specified, it defaults to this node's
15f218
+        version.
15f218
 """
15f218
     if pout:
15f218
         print(sub_usage(args, output))
15f218
-- 
15f218
1.8.3.1
15f218