From 35833329630bd60a72701e5f4ae22ff1822b9216 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 19 May 2015 10:55:09 -0400 Subject: [PATCH] enable prod and staging clusters in brick manager Signed-off-by: Bill Erickson --- KCLS/admin-scripts/brick-manager.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 -- 2.11.0