From 519b1e9b4d4dab0bca5266e0a92e74de20720951 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 31 Jul 2020 17:10:27 -0700 Subject: [PATCH] upgrade: With `skip_puppet`, show what puppet changes are outstanding. This prevents puppet changes from building up over time. --- scripts/lib/upgrade-zulip-stage-2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lib/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2 index 5fa68ced5e..0475a18073 100755 --- a/scripts/lib/upgrade-zulip-stage-2 +++ b/scripts/lib/upgrade-zulip-stage-2 @@ -280,3 +280,7 @@ if not args.skip_purge_old_deployments: subprocess.check_call(["./scripts/purge-old-deployments"]) else: logging.info("Skipping purging old deployments.") + +if args.skip_puppet: + logging.info("Showing un-applied puppet changes:") + subprocess.check_call(["./scripts/zulip-puppet-apply", "--noop", "--show_diff"])