ctdb-scripts: Drop CTDB_RC_LOCAL testing hook
authorMartin Schwenke <martin@meltin.net>
Thu, 5 Apr 2018 06:09:22 +0000 (16:09 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 27 Apr 2018 07:37:48 +0000 (09:37 +0200)
This is not used.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Apr 27 09:37:49 CEST 2018 on sn-devel-144

ctdb/config/functions
ctdb/doc/ctdbd.conf.5.xml

index 8728d99129b6ccf8e2fa9f48715f533a3dfa9fcf..020a19a7c3f060644c2557303c42aafe40a035a7 100755 (executable)
@@ -986,10 +986,6 @@ update_tickles ()
 # load a site local config file
 ########################################################
 
-[ -n "$CTDB_RC_LOCAL" -a -x "$CTDB_RC_LOCAL" ] && {
-       . "$CTDB_RC_LOCAL"
-}
-
 [ -x "${CTDB_BASE}/rc.local" ] && {
        . "${CTDB_BASE}/rc.local"
 }
index b454b572904350c46482e185889a68fdcc89211c..f0f903b81c0cf78032433fb261a80968ead6f878 100644 (file)
@@ -1516,22 +1516,6 @@ CTDB_PER_IP_ROUTING_TABLE_ID_HIGH=9000
        </listitem>
       </varlistentry>
 
-      <varlistentry>
-       <term>CTDB_RC_LOCAL=<parameter>FILENAME</parameter></term>
-       <listitem>
-         <para>
-           FILENAME is a script fragment to be sourced by the
-           <filename>functions</filename> that is sourced by scripts.
-           On example use would be to override function definitions
-           in unit tests.  As a sanity check, this file must be
-           executable for it to be used.
-         </para>
-         <para>
-           No default.
-         </para>
-       </listitem>
-      </varlistentry>
-
       <varlistentry>
        <term>CTDB_RUN_TIMEOUT_MONITOR=yes|no</term>
        <listitem>