This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository lib389.
commit 983f713a99f8a9db7c077bdc26a3c24442087fd6
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Fri Aug 11 09:57:54 2017 -0400
Ticket 89 - Fix inconsistency with serverid
Description: The path of least resistance is to use "standalone1"
instead of "standalone_1".
https://pagure.io/lib389/issue/89
Reviewed by: mreynolds (one line commit rule)
---
lib389/_constants.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib389/_constants.py b/lib389/_constants.py
index 4ca9d0c..1d458dd 100644
--- a/lib389/_constants.py
+++ b/lib389/_constants.py
@@ -250,7 +250,7 @@ for i in range(port_start, port_start + number_of_instances):
exec("HOST_STANDALONE{0} = {1}".format(N, "LOCALHOST"))
exec("PORT_STANDALONE{0} = {1}".format(N, i))
exec("SECUREPORT_STANDALONE{0} = {1}".format(N, i + 24700))
- exec("SERVERID_STANDALONE{0} = {1}".format(N,
"\"standalone_{0}\"".format(N)))
+ exec("SERVERID_STANDALONE{0} = {1}".format(N,
"\"standalone{0}\"".format(N)))
exec("REPLICAID_STANDALONE_{0} = {1}".format(N, 65535))
# For compatibility
@@ -267,7 +267,7 @@ for i in range(port_start, port_start + number_of_instances):
exec("HOST_MASTER_{0} = {1}".format(N, "LOCALHOST"))
exec("PORT_MASTER_{0} = {1}".format(N, i))
exec("SECUREPORT_MASTER_{0} = {1}".format(N, i + 24700))
- exec("SERVERID_MASTER_{0} = {1}".format(N,
"\"master_{0}\"".format(N)))
+ exec("SERVERID_MASTER_{0} = {1}".format(N,
"\"master{0}\"".format(N)))
exec("REPLICAID_MASTER_{0} = {1}".format(N, N))
# Replication topology - hubs
@@ -278,7 +278,7 @@ for i in range(port_start, port_start + number_of_instances):
exec("HOST_HUB_{0} = {1}".format(N, "LOCALHOST"))
exec("PORT_HUB_{0} = {1}".format(N, i))
exec("SECUREPORT_HUB_{0} = {1}".format(N, i + 24700))
- exec("SERVERID_HUB_{0} = {1}".format(N,
"\"hub_{0}\"".format(N)))
+ exec("SERVERID_HUB_{0} = {1}".format(N,
"\"hub{0}\"".format(N)))
exec("REPLICAID_HUB_{0} = {1}".format(N, 65535))
# Replication topology - consumers
@@ -289,7 +289,7 @@ for i in range(port_start, port_start + number_of_instances):
exec("HOST_CONSUMER_{0} = {1}".format(N, "LOCALHOST"))
exec("PORT_CONSUMER_{0} = {1}".format(N, i))
exec("SECUREPORT_CONSUMER_{0} = {1}".format(N, i + 24700))
- exec("SERVERID_CONSUMER_{0} = {1}".format(N,
"\"consumer_{0}\"".format(N)))
+ exec("SERVERID_CONSUMER_{0} = {1}".format(N,
"\"consumer{0}\"".format(N)))
# Cleanup, we don't need to export that
del N, port_start, number_of_instances
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.