From 9c2aa9faaae81ef5fedd088bb38f30a706861189 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Mon, 11 Mar 2024 15:57:46 +0100 Subject: [PATCH] Add info about required, unautomated step to script --- scripts/postgresql/switch_primary.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/postgresql/switch_primary.sh b/scripts/postgresql/switch_primary.sh index 4859162..30413ba 100755 --- a/scripts/postgresql/switch_primary.sh +++ b/scripts/postgresql/switch_primary.sh @@ -21,3 +21,4 @@ bundle exec knife ssh roles:postgresql_client -a knife_zero.host "sudo sed -r \" # TODO # 1. Change roles in node configs # 2. Converge new primary +echo "You need to update the role in the '$new_primary_hostname' node config to 'postgres_primary' and converge it now."