|
|
15f218 |
From 10ed9eaf5f9485b0186fdc1546e22bb321d47e85 Mon Sep 17 00:00:00 2001
|
|
|
15f218 |
From: Tomas Jelinek <tojeline@redhat.com>
|
|
|
15f218 |
Date: Thu, 23 Jun 2016 13:31:29 +0200
|
|
|
15f218 |
Subject: [PATCH] fix "pcs constraint ticket set" help
|
|
|
15f218 |
|
|
|
15f218 |
---
|
|
|
15f218 |
pcs/pcs.8 | 2 +-
|
|
|
15f218 |
pcs/usage.py | 4 ++--
|
|
|
15f218 |
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
15f218 |
|
|
|
15f218 |
diff --git a/pcs/pcs.8 b/pcs/pcs.8
|
|
|
15f218 |
index 38a4913..0e230b7 100644
|
|
|
15f218 |
--- a/pcs/pcs.8
|
|
|
15f218 |
+++ b/pcs/pcs.8
|
|
|
15f218 |
@@ -482,7 +482,7 @@ ticket add <ticket> [<role>] <resource id> [options] [id=constraint\-id]
|
|
|
15f218 |
Create a ticket constraint for <resource id>. Available option is loss-policy=fence/stop/freeze/demote. A role can be master, slave, started or stopped.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
ticket set <resource1> [resourceN]... [options] [set <resourceX> ... [options]] [setoptions [constraint_options]]
|
|
|
15f218 |
-Create a ticket constraint with a resource set. Available options are sequential=true/false, require-all=true/false, action=start/promote/demote/stop and role=Stopped/Started/Master/Slave. Required constraint option is ticket. Optional constraint option is loss-policy=fence/stop/freeze/demote.
|
|
|
15f218 |
+Create a ticket constraint with a resource set. Available options are sequential=true/false, require-all=true/false, action=start/promote/demote/stop and role=Stopped/Started/Master/Slave. Required constraint option is ticket=<ticket>. Optional constraint options are id=<constraint-id> and loss-policy=fence/stop/freeze/demote.
|
|
|
15f218 |
.TP
|
|
|
15f218 |
remove [constraint id]...
|
|
|
15f218 |
Remove constraint(s) or constraint rules with the specified id(s).
|
|
|
15f218 |
diff --git a/pcs/usage.py b/pcs/usage.py
|
|
|
15f218 |
index 9d24b78..c4c417a 100644
|
|
|
15f218 |
--- a/pcs/usage.py
|
|
|
15f218 |
+++ b/pcs/usage.py
|
|
|
15f218 |
@@ -998,8 +998,8 @@ Commands:
|
|
|
15f218 |
Create a ticket constraint with a resource set.
|
|
|
15f218 |
Available options are sequential=true/false, require-all=true/false,
|
|
|
15f218 |
action=start/promote/demote/stop and role=Stopped/Started/Master/Slave.
|
|
|
15f218 |
- Required constraint option is ticket.
|
|
|
15f218 |
- Optional constraint option is loss-policy=fence/stop/freeze/demote.
|
|
|
15f218 |
+ Required constraint option is ticket=<ticket>. Optional constraint
|
|
|
15f218 |
+ options are id=<constraint-id> and loss-policy=fence/stop/freeze/demote.
|
|
|
15f218 |
|
|
|
15f218 |
remove [constraint id]...
|
|
|
15f218 |
Remove constraint(s) or constraint rules with the specified id(s).
|
|
|
15f218 |
--
|
|
|
15f218 |
1.8.3.1
|
|
|
15f218 |
|