Rename bash libraries for tox+bashate
This patch renames a few libraries whose names don't match *.sh. This allows tox to easily find all bash libraries and check them with bashate. Change-Id: Icf231dacc3fa78d20f1b48a4befb917a1d15dd3d
This commit is contained in:
committed by
Pranav Salunke
parent
051565759a
commit
8c066e031f
@@ -16,7 +16,7 @@ source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
source "$CONFIG_DIR/deploy.osbash"
|
||||
source "$CONFIG_DIR/provider.$PROVIDER"
|
||||
source "$OSBASH_LIB_DIR/lib.$DISTRO"
|
||||
source "$OSBASH_LIB_DIR/lib.$DISTRO.sh"
|
||||
source "$OSBASH_LIB_DIR/functions-host.sh"
|
||||
source "$OSBASH_LIB_DIR/$PROVIDER-functions.sh"
|
||||
source "$OSBASH_LIB_DIR/$PROVIDER-install_base.sh"
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
# source_deploy doesn't work here
|
||||
source "$CONFIG_DIR/deploy.osbash"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
readonly RCAUTOSTART=osbashauto
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ set -o errexit -o nounset
|
||||
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
# Determine hostname from script name
|
||||
re=".*init_(.*)_node.sh$"
|
||||
|
||||
@@ -25,7 +25,7 @@ mkdir -p $STATUS_DIR
|
||||
TOP_DIR=/$SHARE_NAME
|
||||
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
exec_logpath "$LOG_DIR/%RCAUTOSTART%.log"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/demo-openstackrc.sh"
|
||||
|
||||
exec_logfile
|
||||
|
||||
@@ -5,7 +5,7 @@ source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
# Pick up VM_PROXY
|
||||
source "$CONFIG_DIR/localrc"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -4,7 +4,7 @@ TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/admin-openstackrc.sh"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
|
||||
exec_logfile
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -5,7 +5,7 @@ source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
# Get REGION
|
||||
source "$CONFIG_DIR/openstack"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/admin-openstackrc.sh"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/admin-openstackrc.sh"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/admin-openstackrc.sh"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
exec_logfile
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
exec_logfile
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/credentials"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
|
||||
exec_logfile
|
||||
|
||||
@@ -5,7 +5,7 @@ source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
# Pick up VM_PROXY
|
||||
source "$CONFIG_DIR/localrc"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$CONFIG_DIR/openstack"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
set -o errexit -o nounset
|
||||
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
||||
source "$TOP_DIR/config/paths"
|
||||
source "$LIB_DIR/functions.guest"
|
||||
source "$LIB_DIR/functions.guest.sh"
|
||||
|
||||
indicate_current_auto
|
||||
|
||||
|
||||
Reference in New Issue
Block a user