diff options
author | 2016-08-11 15:03:00 -0400 | |
---|---|---|
committer | 2016-08-11 15:04:14 -0400 | |
commit | fbac5e93460b4e3d06037d73e5a519449c8118b2 (patch) | |
tree | 5d1faf7fca08eeed98cbb3a8135bb5f787687d9a /sys-cluster/galera/files | |
parent | app-crypt/pinentry: Use -std=c++11 if using Qt >= 5.7 (diff) | |
download | gentoo-fbac5e93460b4e3d06037d73e5a519449c8118b2.tar.gz gentoo-fbac5e93460b4e3d06037d73e5a519449c8118b2.tar.bz2 gentoo-fbac5e93460b4e3d06037d73e5a519449c8118b2.zip |
sys-cluster/galera: Version bump
Include Node name change for garbd wrt bug 581518
Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-cluster/galera/files')
-rw-r--r-- | sys-cluster/galera/files/garb.cnf | 3 | ||||
-rw-r--r-- | sys-cluster/galera/files/garb.sh | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-cluster/galera/files/garb.cnf b/sys-cluster/galera/files/garb.cnf index 4f0047a02c25..63b79c1d2259 100644 --- a/sys-cluster/galera/files/garb.cnf +++ b/sys-cluster/galera/files/garb.cnf @@ -7,6 +7,9 @@ # Galera cluster name, should be the same as on the rest of the nodes. # GALERA_GROUP="" +# Arbitrator node name, give a specific name to this node in cluster. +# NODE_NAME="" + # Optional Galera internal options string (e.g. SSL settings) # see http://www.codership.com/wiki/doku.php?id=galera_parameters # GALERA_OPTIONS="" diff --git a/sys-cluster/galera/files/garb.sh b/sys-cluster/galera/files/garb.sh index da7d55093f5d..f03eaffc076a 100644 --- a/sys-cluster/galera/files/garb.sh +++ b/sys-cluster/galera/files/garb.sh @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 depend() { @@ -24,7 +24,8 @@ start() { OPTIONS="-a gcomm://${GALERA_NODES// /,} -g ${GALERA_GROUP}" [ -n "${GALERA_OPTIONS}" ] && OPTIONS="${OPTIONS} -o ${GALERA_OPTIONS}" - [ -n "${LOG_FILE}" ] && OPTIONS="${OPTIONS} -l ${LOG_FILE}" + [ -n "${LOG_FILE}" ] && OPTIONS="${OPTIONS} -l ${LOG_FILE}" + [ -n "${NODE_NAME}" ] && OPTIONS="${OPTIONS} -n ${NODE_NAME}" start-stop-daemon \ --start \ @@ -46,4 +47,3 @@ stop() { --pidfile "${PIDFILE}" eend $? } - |