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