From: Bill Erickson Date: Tue, 19 May 2015 14:55:09 +0000 (-0400) Subject: enable prod and staging clusters in brick manager X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=35833329630bd60a72701e5f4ae22ff1822b9216;p=working%2FEvergreen.git enable prod and staging clusters in brick manager Signed-off-by: Bill Erickson --- diff --git a/KCLS/admin-scripts/brick-manager.sh b/KCLS/admin-scripts/brick-manager.sh index 33be2c70ee..0ef08015f5 100755 --- a/KCLS/admin-scripts/brick-manager.sh +++ b/KCLS/admin-scripts/brick-manager.sh @@ -99,17 +99,14 @@ function inspect_args { else if [ "$CLUSTER" = 'production' ]; then - announce "Cluster 'production' not yet supported" - exit SERVERS=( ${PRODUCTION_BRICKS[@]} ); elif [ "$CLUSTER" = 'staging' ]; then - announce "Cluster 'staging' not yet supported" - exit SERVERS=( ${STAGING_BRICKS[@]} ); elif [ "$CLUSTER" = 'testing' ]; then SERVERS=( ${TESTING_BRICKS[@]} ); elif [ -n "$CLUSTER" ]; then - announce "Supported clusters: testing, staging, production" + announce "Cluster '$CLUSTER' not supported." + announce "Supported clusters: testing staging production" exit; else usage