From d72f11431d088518c681e93b6e54754c2569458b Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Thu, 9 Aug 2018 12:40:33 +0200 Subject: [PATCH] Removing echos. --- bin/scripts/02_failover/060_go/p04/shutdown-azure-primary.sh | 4 ++-- .../02_failover/060_go/p04/shutdown-azure-secondaries.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/scripts/02_failover/060_go/p04/shutdown-azure-primary.sh b/bin/scripts/02_failover/060_go/p04/shutdown-azure-primary.sh index 3c58c4d..9a03565 100755 --- a/bin/scripts/02_failover/060_go/p04/shutdown-azure-primary.sh +++ b/bin/scripts/02_failover/060_go/p04/shutdown-azure-primary.sh @@ -14,9 +14,9 @@ recovery=$(ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-psql -t -d gitlab_ echo "$POSTGRESQL_AZURE_PRIMARY: pg_is_in_recovery=$recovery" echo "postgresql will be shutdown on the above host, press enter to continue" -read -r "" +read -r -ssh_host "$POSTGRESQL_AZURE_PRIMARY" "echo sudo gitlab-ctl stop postgresql" +ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-ctl stop postgresql" echo "Getting status:" p_status=$(ssh_host "$POSTGRESQL_AZURE_PRIMARY" "sudo gitlab-ctl status postgresql") diff --git a/bin/scripts/02_failover/060_go/p04/shutdown-azure-secondaries.sh b/bin/scripts/02_failover/060_go/p04/shutdown-azure-secondaries.sh index 7df2551..4ab373a 100755 --- a/bin/scripts/02_failover/060_go/p04/shutdown-azure-secondaries.sh +++ b/bin/scripts/02_failover/060_go/p04/shutdown-azure-secondaries.sh @@ -17,12 +17,12 @@ do done echo "postgresql will be shutdown on the above hosts, press enter to continue" -read -r "" +read -r echo "Shutting down:" for secondary in ${POSTGRESQL_AZURE_SECONDARIES[*]} do - ssh_host "$secondary" "echo sudo gitlab-ctl stop postgresql" + ssh_host "$secondary" "sudo gitlab-ctl stop postgresql" done echo "Getting status:" -- GitLab